Warning: Permanently added '13.218.119.14' (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/11216877-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.10 PID: 15197 Logging PID: 15199 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 11216877, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'e994461067cd541bb2b72c1915b8f17b60a5c2d3', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'libroadrunner', 'package_version': '2.11.0-2', 'project_dirname': 'biofedora', 'project_name': 'biofedora', 'project_owner': 'mhough', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/biofedora/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None, 'repo_gpgcheck': False}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/neurofedora/fedora-rawhide-x86_64/', 'id': 'copr_mhough_neurofedora', 'name': 'Additional repo copr_mhough_neurofedora', 'repo_gpgcheck': False}], 'sandbox': 'mhough/biofedora--mhough', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 1, 'submitter': 'mhough', 'tags': [], 'task_id': '11216877-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner', '/var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner'... Running: git checkout e994461067cd541bb2b72c1915b8f17b60a5c2d3 -- cmd: ['git', 'checkout', 'e994461067cd541bb2b72c1915b8f17b60a5c2d3', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner rc: 0 stdout: stderr: Note: switching to 'e994461067cd541bb2b72c1915b8f17b60a5c2d3'. 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 e994461 automatic import of libroadrunner Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading libroadrunner-2.11.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o libroadrunner-2.11.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/mhough/biofedora/libroadrunner/libroadrunner-2.11.0.tar.gz/md5/b6d156a574d0dec0590a10ab3c6cdb51/libroadrunner-2.11.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 44.39M 100 44.39M 0 0 513.9M 0 0 INFO: Reading stdout from command: md5sum libroadrunner-2.11.0.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1793139585.473023 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.9 starting (python version = 3.14.5, NVR = mock-6.9-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-mh1ka06_/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1793139585.473023 -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-mh1ka06_/libroadrunner/libroadrunner.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.9 INFO: Mock Version: 6.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1793139585.473023/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:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-e538d14f-8c20-406a-800a-4f33e1675fb5 INFO: Checking that 428f565534c378b103a8ec89b338164726967d88fa562966ed69cf5b3af100aa image matches host's architecture INFO: Copy content of container 428f565534c378b103a8ec89b338164726967d88fa562966ed69cf5b3af100aa to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1793139585.473023/root INFO: mounting 428f565534c378b103a8ec89b338164726967d88fa562966ed69cf5b3af100aa with podman image mount INFO: image 428f565534c378b103a8ec89b338164726967d88fa562966ed69cf5b3af100aa as /var/lib/containers/storage/overlay/f3bc5b33644f09b51b39df99e8ac68c870b366f98319c7db0cebb8708e479ff9/merged INFO: umounting image 428f565534c378b103a8ec89b338164726967d88fa562966ed69cf5b3af100aa (/var/lib/containers/storage/overlay/f3bc5b33644f09b51b39df99e8ac68c870b366f98319c7db0cebb8708e479ff9/merged) with podman image umount INFO: Removing image mock-bootstrap-e538d14f-8c20-406a-800a-4f33e1675fb5 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-rawhide-x86_64-1793139585.473023/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.1.0-1.fc46.x86_64 rpm-sequoia-1.10.3-1.fc46.x86_64 dnf5-5.4.6.0-1.fc46.x86_64 dnf5-plugins-5.4.6.0-1.fc46.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 119.1 KiB/s | 21.4 KiB | 00m00s Additional repo copr_mhough_neurofedor 100% | 9.8 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 9.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 0:5.3.20-1.fc46 fedora 8.5 MiB bzip2 x86_64 0:1.0.8-24.fc45 fedora 95.0 KiB coreutils x86_64 0:9.12-1.fc46 fedora 6.3 MiB cpio x86_64 0:2.15-10.fc45 fedora 1.1 MiB diffutils x86_64 0:3.12-6.fc45 fedora 1.6 MiB fedora-release-common noarch 0:46-0.1 fedora 4.6 KiB findutils x86_64 1:4.11.0-2.fc45 fedora 1.9 MiB gawk x86_64 0:5.4.1-1.fc45 fedora 2.2 MiB glibc-minimal-langpack x86_64 0:2.44.9000-5.fc46 fedora 0.0 B grep x86_64 0:3.12-4.fc45 fedora 1.0 MiB gzip x86_64 0:1.15-1.fc46 fedora 445.2 KiB info x86_64 0:7.3-3.fc45 fedora 372.4 KiB patch x86_64 0:2.8-6.fc46 fedora 226.6 KiB redhat-rpm-config noarch 0:345-6.fc46 fedora 184.3 KiB rpm-build x86_64 0:6.1.0-1.fc46 fedora 312.1 KiB sed x86_64 0:4.10-2.fc45 fedora 866.5 KiB shadow-utils x86_64 2:4.20.0-2.fc46 fedora 3.9 MiB tar x86_64 2:1.35-9.fc45 fedora 3.0 MiB unzip x86_64 0:6.0-71.fc45 fedora 441.8 KiB util-linux x86_64 0:2.42.4-2.fc46 fedora 3.7 MiB which x86_64 0:2.25-2.fc45 fedora 83.6 KiB xz x86_64 1:5.8.4-1.fc46 fedora 1.4 MiB Installing dependencies: R-srpm-macros noarch 0:1.3.7-3.fc45 fedora 3.5 KiB add-determinism x86_64 0:0.7.3-3.fc45 fedora 2.2 MiB alternatives x86_64 0:1.33-6.fc45 fedora 62.1 KiB ansible-srpm-macros noarch 0:1-22.fc45 fedora 35.7 KiB audit-libs x86_64 0:4.2.1-2.fc45 fedora 390.5 KiB binutils x86_64 0:2.47.50-20.fc46 fedora 24.5 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-3.fc45 fedora 1.2 KiB bzip2-libs x86_64 0:1.0.8-24.fc45 fedora 80.5 KiB ca-certificates noarch 0:2026.2.92_v9.0.319-2.fc46 fedora 2.7 MiB cmake-srpm-macros noarch 0:4.3.0-5.fc45 fedora 524.0 B coreutils-common x86_64 0:9.12-1.fc46 fedora 11.5 MiB crypto-policies noarch 0:20260713-2.gitc42da77.fc45 fedora 134.3 KiB curl x86_64 0:8.23.0-1.fc46 fedora 486.1 KiB cyrus-sasl-lib x86_64 0:2.1.28-37.fc45 fedora 2.3 MiB debugedit x86_64 0:5.3-3.fc45 fedora 220.8 KiB dwz x86_64 0:0.17-3.fc45 fedora 291.1 KiB ed x86_64 0:1.22.6-1.fc46 fedora 150.9 KiB efi-srpm-macros noarch 0:6-9.fc45 fedora 40.3 KiB elfutils x86_64 0:0.197-1.fc46 fedora 3.1 MiB elfutils-debuginfod-client x86_64 0:0.197-1.fc46 fedora 79.9 KiB elfutils-libelf x86_64 0:0.197-1.fc46 fedora 1.6 MiB elfutils-libs x86_64 0:0.197-1.fc46 fedora 719.5 KiB erlang-srpm-macros noarch 0:0.4.1-1.fc46 fedora 2.0 KiB fedora-gpg-keys noarch 0:46-0.3 fedora 130.3 KiB fedora-release noarch 0:46-0.1 fedora 0.0 B fedora-release-identity-basic noarch 0:46-0.1 fedora 664.0 B fedora-repos noarch 0:46-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 0:46-0.3 fedora 2.2 KiB file x86_64 0:5.48-3.fc46 fedora 101.9 KiB file-libs x86_64 0:5.48-3.fc46 fedora 12.3 MiB filesystem x86_64 0:3.18-59.fc45 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-59.fc45 fedora 38.2 KiB fips-provider x86_64 0:1.5.3-1.fc46 fedora 4.8 MiB fonts-srpm-macros noarch 1:5.0.0-4.fc45 fedora 55.8 KiB forge-srpm-macros noarch 0:0.4.0-5.fc45 fedora 38.9 KiB fpc-srpm-macros noarch 0:1.3-17.fc45 fedora 144.0 B gap-srpm-macros noarch 0:2-3.fc45 fedora 2.1 KiB gdb-minimal x86_64 0:18.1-1.fc46 fedora 14.4 MiB gdbm-libs x86_64 1:1.26-1.fc46 fedora 134.2 KiB ghc-srpm-macros noarch 0:1.10-2.fc45 fedora 792.0 B glibc x86_64 0:2.44.9000-5.fc46 fedora 7.2 MiB glibc-common x86_64 0:2.44.9000-5.fc46 fedora 1.0 MiB glibc-gconv-extra x86_64 0:2.44.9000-5.fc46 fedora 7.7 MiB gmp x86_64 1:6.3.0-6.fc45 fedora 815.2 KiB gnat-srpm-macros noarch 0:7-3.fc45 fedora 1.0 KiB gnome-srpm-macros noarch 0:1.0-2.fc45 fedora 3.5 KiB gnulib-l10n noarch 0:20241231-4.fc45 fedora 655.0 KiB gnupg2 x86_64 0:2.4.9-18.fc45 fedora 6.5 MiB gnupg2-dirmngr x86_64 0:2.4.9-18.fc45 fedora 630.1 KiB gnupg2-gpg-agent x86_64 0:2.4.9-18.fc45 fedora 678.8 KiB gnupg2-gpgconf x86_64 0:2.4.9-18.fc45 fedora 253.8 KiB gnupg2-keyboxd x86_64 0:2.4.9-18.fc45 fedora 201.3 KiB gnupg2-verify x86_64 0:2.4.9-18.fc45 fedora 356.3 KiB gnutls x86_64 0:3.8.13-6.fc46 fedora 3.8 MiB go-srpm-macros noarch 0:3.8.0-3.fc45 fedora 61.9 KiB gpgverify noarch 0:2.2-5.fc45 fedora 8.7 KiB ima-evm-utils-libs x86_64 0:1.6.2-12.fc45 fedora 56.6 KiB jansson x86_64 0:2.14-5.fc45 fedora 89.0 KiB java-srpm-macros noarch 0:1-9.fc45 fedora 870.0 B json-c x86_64 0:0.18-9.fc45 fedora 82.7 KiB kernel-srpm-macros noarch 0:1.0-30.fc45 fedora 1.9 KiB keyutils-libs x86_64 0:1.6.3-8.fc45 fedora 54.2 KiB krb5-libs x86_64 0:1.22.2-9.fc45 fedora 2.4 MiB libacl x86_64 0:2.4.0-2.fc45 fedora 43.9 KiB libarchive x86_64 0:3.8.9-2.fc46 fedora 1.0 MiB libassuan x86_64 0:2.5.7-6.fc45 fedora 163.9 KiB libattr x86_64 0:2.6.0-2.fc45 fedora 24.3 KiB libblkid x86_64 0:2.42.4-2.fc46 fedora 282.3 KiB libbrotli x86_64 0:1.2.1-1.fc46 fedora 865.0 KiB libcap x86_64 0:2.78-2.fc45 fedora 208.2 KiB libcap-ng x86_64 0:0.9.6-1.fc46 fedora 68.8 KiB libcbor x86_64 0:0.14.0-3.fc45 fedora 83.5 KiB libcom_err x86_64 0:1.47.4-2.fc45 fedora 63.0 KiB libcurl x86_64 0:8.23.0-1.fc46 fedora 1.1 MiB libeconf x86_64 0:0.7.9-4.fc45 fedora 64.8 KiB libevent x86_64 0:2.1.13-1.fc46 fedora 980.7 KiB libfdisk x86_64 0:2.42.4-2.fc46 fedora 392.3 KiB libffi x86_64 0:3.8.0-1.fc46 fedora 95.5 KiB libfido2 x86_64 0:1.17.0-7.fc46 fedora 256.5 KiB libfsverity x86_64 0:1.7-4.fc45 fedora 24.4 KiB libgcc x86_64 0:16.2.1-2.fc46.1 fedora 270.7 KiB libgcrypt x86_64 0:1.12.4-1.fc46 fedora 1.7 MiB libgomp x86_64 0:16.2.1-2.fc46.1 fedora 577.5 KiB libgpg-error x86_64 0:1.61-2.fc45 fedora 953.9 KiB libidn2 x86_64 0:2.3.8-4.fc45 fedora 556.4 KiB libksba x86_64 0:1.8.1-1.fc46 fedora 431.9 KiB liblastlog2 x86_64 0:2.42.4-2.fc46 fedora 37.6 KiB libmount x86_64 0:2.42.4-2.fc46 fedora 408.9 KiB libnghttp2 x86_64 0:1.69.0-6.fc46 fedora 166.1 KiB libnghttp3 x86_64 0:1.18.0-1.fc45 fedora 163.4 KiB libpfm x86_64 0:4.14.1-2.fc46 fedora 2.4 MiB libpkgconf x86_64 0:2.5.1-2.fc45 fedora 90.1 KiB libpsl x86_64 0:0.23.3-1.fc46 fedora 80.4 KiB libselinux x86_64 0:3.11-5.fc46 fedora 205.2 KiB libselinux-utils x86_64 0:3.11-5.fc46 fedora 306.0 KiB libsemanage x86_64 0:3.11-4.fc46 fedora 320.6 KiB libsepol x86_64 0:3.11-2.fc45 fedora 866.1 KiB libsmartcols x86_64 0:2.42.4-2.fc46 fedora 188.5 KiB libssh x86_64 0:0.12.2-1.fc45 fedora 725.7 KiB libssh-config noarch 0:0.12.2-1.fc45 fedora 277.0 B libstdc++ x86_64 0:16.2.1-2.fc46.1 fedora 3.1 MiB libtasn1 x86_64 0:4.21.0-2.fc45 fedora 176.6 KiB libtool-ltdl x86_64 0:2.6.2-1.fc46 fedora 70.0 KiB libunistring x86_64 0:1.1-12.fc45 fedora 1.7 MiB libusb1 x86_64 0:1.0.30-2.fc45 fedora 180.1 KiB libuuid x86_64 0:2.42.4-2.fc46 fedora 37.2 KiB libverto x86_64 0:0.3.2-13.fc45 fedora 25.3 KiB libxcrypt x86_64 0:4.5.2-4.fc45 fedora 293.2 KiB libxml2 x86_64 0:2.15.4-1.fc46 fedora 1.7 MiB libzstd x86_64 0:1.5.7-6.fc45 fedora 956.1 KiB linkdupes x86_64 0:0.7.3-3.fc45 fedora 782.1 KiB lua-libs x86_64 0:5.5.1-2.fc46 fedora 298.0 KiB lua-srpm-macros noarch 0:1-18.fc45 fedora 1.3 KiB lz4-libs x86_64 0:1.10.0-5.fc45 fedora 165.3 KiB meson-srpm-macros noarch 0:1.12.1-2.fc46 fedora 1.7 KiB mpfr x86_64 0:4.2.2-4.fc45 fedora 849.2 KiB ncurses-base noarch 0:6.6-3.fc45 fedora 329.7 KiB ncurses-libs x86_64 0:6.6-3.fc45 fedora 969.1 KiB nettle x86_64 0:4.0-5.fc45 fedora 801.9 KiB ngtcp2 x86_64 0:1.22.1-3.fc45 fedora 334.3 KiB ngtcp2-crypto-ossl x86_64 0:1.22.1-3.fc45 fedora 51.6 KiB npth x86_64 0:1.8-5.fc45 fedora 49.5 KiB ocaml-srpm-macros noarch 0:11-4.fc45 fedora 1.9 KiB openblas-srpm-macros noarch 0:2-23.fc46 fedora 124.0 B openldap x86_64 0:2.6.15-1.fc46 fedora 683.4 KiB openssl-libs x86_64 1:4.0.3-1.fc46 fedora 6.7 MiB p11-kit x86_64 0:0.26.5-1.fc45 fedora 2.6 MiB p11-kit-trust x86_64 0:0.26.5-1.fc45 fedora 478.4 KiB package-notes-srpm-macros noarch 0:0.20-2.fc45 fedora 1.6 KiB pam-libs x86_64 0:1.7.2-4.fc45 fedora 134.5 KiB pcre2 x86_64 0:10.49-1.fc46 fedora 726.5 KiB pcre2-syntax noarch 0:10.49-1.fc46 fedora 292.5 KiB perl-srpm-macros noarch 0:1-65.fc45 fedora 861.0 B pkgconf x86_64 0:2.5.1-2.fc45 fedora 92.7 KiB pkgconf-m4 noarch 0:2.5.1-2.fc45 fedora 14.3 KiB pkgconf-pkg-config x86_64 0:2.5.1-2.fc45 fedora 989.0 B policycoreutils x86_64 0:3.11-2.fc45 fedora 892.9 KiB popt x86_64 0:1.19-11.fc45 fedora 136.7 KiB publicsuffix-list-dafsa noarch 0:20260624-2.fc45 fedora 71.3 KiB pyproject-srpm-macros noarch 0:1.24.0-1.fc46 fedora 3.4 KiB python-srpm-macros noarch 0:3.15-2.fc45 fedora 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-3.fc45 fedora 500.0 B qt6-srpm-macros noarch 0:6.12.0-1.fc46 fedora 472.0 B readline x86_64 0:8.3-7.fc46 fedora 515.6 KiB redhat-systemd-presets noarch 0:102-3.fc45 fedora 1.0 KiB redhat-systemd-presets-common noarch 0:102-3.fc45 fedora 16.9 KiB rpm x86_64 0:6.1.0-1.fc46 fedora 3.1 MiB rpm-build-libs x86_64 0:6.1.0-1.fc46 fedora 288.3 KiB rpm-libs x86_64 0:6.1.0-1.fc46 fedora 1.1 MiB rpm-plugin-selinux x86_64 0:6.1.0-1.fc46 fedora 11.9 KiB rpm-sequoia x86_64 0:1.10.3-1.fc46 fedora 2.4 MiB rpm-sign-libs x86_64 0:6.1.0-1.fc46 fedora 39.6 KiB rust-srpm-macros noarch 0:28.5-2.fc45 fedora 5.5 KiB selinux-policy noarch 0:45.23-1.fc46 fedora 32.1 KiB selinux-policy-targeted noarch 0:45.23-1.fc46 fedora 18.9 MiB setup noarch 0:2.15.1-2.fc45 fedora 725.6 KiB sqlite-libs x86_64 0:3.54.1-1.fc46 fedora 1.6 MiB systemd-libs x86_64 0:262.1-1.fc46 fedora 2.8 MiB systemd-standalone-sysusers x86_64 0:262.1-1.fc46 fedora 981.2 KiB tpm2-tss x86_64 0:4.2.0-1.fc45 fedora 1.7 MiB tree-sitter-srpm-macros noarch 0:0.4.6-2.fc45 fedora 8.6 KiB util-linux-core x86_64 0:2.42.4-2.fc46 fedora 1.5 MiB xxhash-libs x86_64 0:0.8.4-2.fc46 fedora 94.0 KiB xz-libs x86_64 1:5.8.4-1.fc46 fedora 221.7 KiB zig-srpm-macros noarch 0:1-9.fc45 fedora 1.3 KiB zip x86_64 0:3.0-46.fc45 fedora 694.1 KiB zlib-ng-compat x86_64 0:2.3.3-6.fc45 fedora 165.6 KiB zstd x86_64 0:1.5.7-6.fc45 fedora 502.6 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 190 packages Total size of inbound packages is 72 MiB. Need to download 0 B. After this operation, 231 MiB extra will be used (install 231 MiB, remove 0 B). [ 1/190] tar-2:1.35-9.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/190] bzip2-0:1.0.8-24.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/190] redhat-rpm-config-0:345-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/190] rpm-build-0:6.1.0-1.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/190] unzip-0:6.0-71.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/190] cpio-0:2.15-10.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/190] which-0:2.25-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/190] bash-0:5.3.20-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/190] coreutils-0:9.12-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/190] grep-0:3.12-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/190] patch-0:2.8-6.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/190] sed-0:4.10-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/190] shadow-utils-2:4.20.0-2.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/190] diffutils-0:3.12-6.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/190] fedora-release-common-0:46-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/190] findutils-1:4.11.0-2.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/190] glibc-minimal-langpack-0:2.44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/190] gzip-0:1.15-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/190] info-0:7.3-3.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/190] xz-1:5.8.4-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/190] util-linux-0:2.42.4-2.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/190] gawk-0:5.4.1-1.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/190] glibc-0:2.44.9000-5.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/190] libacl-0:2.4.0-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/190] libselinux-0:3.11-5.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/190] bzip2-libs-0:1.0.8-24.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/190] R-srpm-macros-0:1.3.7-3.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/190] ansible-srpm-macros-0:1-22.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/190] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/190] cmake-srpm-macros-0:4.3.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/190] dwz-0:0.17-3.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/190] efi-srpm-macros-0:6-9.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/190] erlang-srpm-macros-0:0.4.1-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/190] file-0:5.48-3.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/190] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/190] fonts-srpm-macros-1:5.0.0-4.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/190] forge-srpm-macros-0:0.4.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/190] fpc-srpm-macros-0:1.3-17.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/190] gap-srpm-macros-0:2-3.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/190] ghc-srpm-macros-0:1.10-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/190] gnat-srpm-macros-0:7-3.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/190] gnome-srpm-macros-0:1.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/190] go-srpm-macros-0:3.8.0-3.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/190] java-srpm-macros-0:1-9.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/190] kernel-srpm-macros-0:1.0-30.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/190] lua-srpm-macros-0:1-18.fc45.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/190] meson-srpm-macros-0:1.12.1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/190] ocaml-srpm-macros-0:11-4.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/190] openblas-srpm-macros-0:2-23.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/190] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/190] perl-srpm-macros-0:1-65.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/190] pyproject-srpm-macros-0:1.24. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/190] python-srpm-macros-0:3.15-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/190] qt5-srpm-macros-0:5.15.18-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/190] qt6-srpm-macros-0:6.12.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/190] rpm-0:6.1.0-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/190] rust-srpm-macros-0:28.5-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/190] tree-sitter-srpm-macros-0:0.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/190] zig-srpm-macros-0:1-9.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/190] zip-0:3.0-46.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/190] debugedit-0:5.3-3.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/190] elfutils-0:0.197-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/190] elfutils-libelf-0:0.197-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/190] libarchive-0:3.8.9-2.fc46.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/190] libgcc-0:16.2.1-2.fc46.1.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/190] libstdc++-0:16.2.1-2.fc46.1.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/190] popt-0:1.19-11.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/190] readline-0:8.3-7.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/190] rpm-build-libs-0:6.1.0-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/190] rpm-libs-0:6.1.0-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/190] zstd-0:1.5.7-6.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/190] filesystem-0:3.18-59.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/190] ncurses-libs-0:6.6-3.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/190] coreutils-common-0:9.12-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/190] gmp-1:6.3.0-6.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/190] libattr-0:2.6.0-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/190] libcap-0:2.78-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/190] openssl-libs-1:4.0.3-1.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/190] systemd-libs-0:262.1-1.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/190] pcre2-0:10.49-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/190] ed-0:1.22.6-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/190] audit-libs-0:4.2.1-2.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/190] libeconf-0:0.7.9-4.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/190] libsemanage-0:3.11-4.fc46.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/190] libxcrypt-0:4.5.2-4.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/190] pam-libs-0:1.7.2-4.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/190] setup-0:2.15.1-2.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/190] fedora-repos-0:46-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/190] redhat-systemd-presets-0:102- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/190] glibc-common-0:2.44.9000-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/190] xz-libs-1:5.8.4-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/190] libblkid-0:2.42.4-2.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/190] libcap-ng-0:0.9.6-1.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/190] libfdisk-0:2.42.4-2.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/190] liblastlog2-0:2.42.4-2.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/190] libmount-0:2.42.4-2.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/190] libsmartcols-0:2.42.4-2.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/190] libuuid-0:2.42.4-2.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/190] util-linux-core-0:2.42.4-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/190] zlib-ng-compat-0:2.3.3-6.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/190] mpfr-0:4.2.2-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/190] glibc-gconv-extra-0:2.44.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/190] libsepol-0:3.11-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/190] add-determinism-0:0.7.3-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/190] linkdupes-0:0.7.3-3.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/190] file-libs-0:5.48-3.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/190] curl-0:8.23.0-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/190] elfutils-libs-0:0.197-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/190] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/190] json-c-0:0.18-9.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/190] libpfm-0:4.14.1-2.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/190] libzstd-0:1.5.7-6.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/190] libxml2-0:2.15.4-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/190] lz4-libs-0:1.10.0-5.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/190] libgomp-0:16.2.1-2.fc46.1.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/190] lua-libs-0:5.5.1-2.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/190] rpm-sign-libs-0:6.1.0-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/190] rpm-sequoia-0:1.10.3-1.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/190] sqlite-libs-0:3.54.1-1.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/190] ncurses-base-0:6.6-3.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/190] gnulib-l10n-0:20241231-4.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/190] ca-certificates-0:2026.2.92_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/190] crypto-policies-0:20260713-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/190] fips-provider-0:1.5.3-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/190] pcre2-syntax-0:10.49-1.fc46.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/190] fedora-gpg-keys-0:46-0.3.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/190] fedora-repos-rawhide-0:46-0.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/190] redhat-systemd-presets-common 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/190] gnupg2-0:2.4.9-18.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/190] ima-evm-utils-libs-0:1.6.2-12 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/190] libfsverity-0:1.7-4.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/190] gpgverify-0:2.2-5.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/190] gnupg2-dirmngr-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/190] gnupg2-gpg-agent-0:2.4.9-18.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/190] gnupg2-gpgconf-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/190] gnupg2-keyboxd-0:2.4.9-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/190] gnupg2-verify-0:2.4.9-18.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/190] libassuan-0:2.5.7-6.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/190] libgcrypt-0:1.12.4-1.fc46.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/190] libgpg-error-0:1.61-2.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/190] npth-0:1.8-5.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/190] tpm2-tss-0:4.2.0-1.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/190] gnutls-0:3.8.13-6.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/190] libksba-0:1.8.1-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/190] openldap-0:2.6.15-1.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/190] libusb1-0:1.0.30-2.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/190] libidn2-0:2.3.8-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/190] libtasn1-0:4.21.0-2.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/190] libunistring-0:1.1-12.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/190] nettle-0:4.0-5.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/190] p11-kit-0:0.26.5-1.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/190] cyrus-sasl-lib-0:2.1.28-37.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/190] libevent-0:2.1.13-1.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/190] libtool-ltdl-0:2.6.2-1.fc46.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/190] libffi-0:3.8.0-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/190] gdbm-libs-1:1.26-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/190] binutils-0:2.47.50-20.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/190] alternatives-0:1.33-6.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/190] jansson-0:2.14-5.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/190] pkgconf-pkg-config-0:2.5.1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/190] pkgconf-0:2.5.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/190] pkgconf-m4-0:2.5.1-2.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/190] libpkgconf-0:2.5.1-2.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/190] p11-kit-trust-0:0.26.5-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/190] fedora-release-0:46-0.1.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/190] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/190] gdb-minimal-0:18.1-1.fc46.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/190] xxhash-libs-0:0.8.4-2.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/190] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/190] libcurl-0:8.23.0-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/190] krb5-libs-0:1.22.2-9.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/190] libbrotli-0:1.2.1-1.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/190] libnghttp2-0:1.69.0-6.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/190] libnghttp3-0:1.18.0-1.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/190] libpsl-0:0.23.3-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/190] libssh-0:0.12.2-1.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/190] ngtcp2-0:1.22.1-3.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/190] ngtcp2-crypto-ossl-0:1.22.1-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/190] keyutils-libs-0:1.6.3-8.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/190] libcom_err-0:1.47.4-2.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/190] libverto-0:0.3.2-13.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/190] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/190] libfido2-0:1.17.0-7.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [184/190] libssh-config-0:0.12.2-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [185/190] libcbor-0:0.14.0-3.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [186/190] selinux-policy-targeted-0:45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [187/190] policycoreutils-0:3.11-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [188/190] selinux-policy-0:45.23-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [189/190] libselinux-utils-0:3.11-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [190/190] rpm-plugin-selinux-0:6.1.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [190/190] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x91211FCE: UserID : "Fedora (46) " Fingerprint: D924B10D3E810DABDD8B56B596E7E91491211FCE From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-46-primary The key was successfully imported. Importing OpenPGP key 0x91211FCE: UserID : "Fedora (46) " Fingerprint: D924B10D3E810DABDD8B56B596E7E91491211FCE From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-46-primary The key was successfully imported. Importing OpenPGP key 0xF577861E: UserID : "Fedora (45) " Fingerprint: 4F50A6114CD5C6976A7F1179655A4B02F577861E From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-45-primary The key was successfully imported. Importing OpenPGP key 0x9488FB64: UserID : "Fedora (47) " Fingerprint: B2E766FA50CA6FA2D5ED06FC09D879E09488FB64 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-47-primary The key was successfully imported. [ 1/192] Verify package files 100% | 722.0 B/s | 190.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> Finished %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> [RPM] failed to open /var/lib/mock/fedora-rawhide-x86_64-1793139585.473023/root/etc/group for id/name lookup: No such file or directory [ 2/192] Prepare transaction 100% | 3.4 KiB/s | 190.0 B | 00m00s [ 3/192] Installing libgcc-0:16.2.1-2. 100% | 266.0 MiB/s | 272.4 KiB | 00m00s [ 4/192] Installing redhat-systemd-pre 100% | 0.0 B/s | 1.5 KiB | 00m00s [ 5/192] Installing redhat-systemd-pre 100% | 0.0 B/s | 18.1 KiB | 00m00s [ 6/192] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 7/192] Installing publicsuffix-list- 100% | 0.0 B/s | 72.0 KiB | 00m00s [ 8/192] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 9/192] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.5 KiB | 00m00s [ 10/192] Installing fedora-gpg-keys-0: 100% | 59.2 MiB/s | 181.7 KiB | 00m00s [ 11/192] Installing fedora-repos-0:46- 100% | 0.0 B/s | 5.9 KiB | 00m00s [ 12/192] Installing fedora-release-com 100% | 0.0 B/s | 8.0 KiB | 00m00s [ 13/192] Installing fedora-release-0:4 100% | 20.2 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Finished sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 14/192] Installing setup-0:2.15.1-2.f 100% | 42.0 MiB/s | 731.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 15/192] Installing filesystem-0:3.18- 100% | 2.8 MiB/s | 253.6 KiB | 00m00s [ 16/192] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 17/192] Installing pcre2-syntax-0:10. 100% | 288.1 MiB/s | 295.0 KiB | 00m00s [ 18/192] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 19/192] Installing coreutils-common-0 100% | 412.9 MiB/s | 11.6 MiB | 00m00s [ 20/192] Installing ncurses-base-0:6.6 100% | 86.7 MiB/s | 355.3 KiB | 00m00s [ 21/192] Installing bash-0:5.3.20-1.fc 100% | 249.2 MiB/s | 8.5 MiB | 00m00s [ 22/192] Installing glibc-common-0:2.4 100% | 51.8 MiB/s | 1.0 MiB | 00m00s [ 23/192] Installing glibc-gconv-extra- 100% | 324.5 MiB/s | 7.8 MiB | 00m00s [ 24/192] Installing glibc-0:2.44.9000- 100% | 184.1 MiB/s | 7.2 MiB | 00m00s [ 25/192] Installing ncurses-libs-0:6.6 100% | 238.0 MiB/s | 974.9 KiB | 00m00s [ 26/192] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 27/192] Installing zlib-ng-compat-0:2 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [ 28/192] Installing bzip2-libs-0:1.0.8 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [ 29/192] Installing libgpg-error-0:1.6 100% | 52.1 MiB/s | 959.7 KiB | 00m00s [ 30/192] Installing readline-0:8.3-7.f 100% | 252.8 MiB/s | 517.7 KiB | 00m00s [ 31/192] Installing libstdc++-0:16.2.1 100% | 440.9 MiB/s | 3.1 MiB | 00m00s [ 32/192] Installing libzstd-0:1.5.7-6. 100% | 311.7 MiB/s | 957.4 KiB | 00m00s [ 33/192] Installing elfutils-libelf-0: 100% | 545.4 MiB/s | 1.6 MiB | 00m00s [ 34/192] Installing libassuan-0:2.5.7- 100% | 161.8 MiB/s | 165.7 KiB | 00m00s [ 35/192] Installing libgcrypt-0:1.12.4 100% | 416.6 MiB/s | 1.7 MiB | 00m00s [ 36/192] Installing libacl-0:2.4.0-2.f 100% | 0.0 B/s | 44.7 KiB | 00m00s [ 37/192] Installing gmp-1:6.3.0-6.fc45 100% | 399.1 MiB/s | 817.4 KiB | 00m00s [ 38/192] Installing systemd-libs-0:262 100% | 395.7 MiB/s | 2.8 MiB | 00m00s [ 39/192] Installing libuuid-0:2.42.4-2 100% | 0.0 B/s | 38.2 KiB | 00m00s [ 40/192] Installing popt-0:1.19-11.fc4 100% | 70.0 MiB/s | 143.3 KiB | 00m00s [ 41/192] Installing xz-libs-1:5.8.4-1. 100% | 217.6 MiB/s | 222.8 KiB | 00m00s [ 42/192] Installing sqlite-libs-0:3.54 100% | 411.7 MiB/s | 1.6 MiB | 00m00s [ 43/192] Installing npth-0:1.8-5.fc45. 100% | 0.0 B/s | 50.6 KiB | 00m00s [ 44/192] Installing elfutils-libs-0:0. 100% | 352.2 MiB/s | 721.4 KiB | 00m00s [ 45/192] Installing libblkid-0:2.42.4- 100% | 276.6 MiB/s | 283.3 KiB | 00m00s [ 46/192] Installing libsepol-0:3.11-2. 100% | 423.4 MiB/s | 867.1 KiB | 00m00s [ 47/192] Installing gnupg2-gpgconf-0:2 100% | 14.7 MiB/s | 255.9 KiB | 00m00s [ 48/192] Installing pcre2-0:10.49-1.fc 100% | 355.5 MiB/s | 728.0 KiB | 00m00s [ 49/192] Installing libselinux-0:3.11- 100% | 201.6 MiB/s | 206.4 KiB | 00m00s [ 50/192] Installing grep-0:3.12-4.fc45 100% | 52.8 MiB/s | 1.0 MiB | 00m00s [ 51/192] Installing sed-0:4.10-2.fc45. 100% | 45.0 MiB/s | 874.9 KiB | 00m00s [ 52/192] Installing findutils-1:4.11.0 100% | 93.2 MiB/s | 2.0 MiB | 00m00s [ 53/192] Installing libxcrypt-0:4.5.2- 100% | 289.0 MiB/s | 295.9 KiB | 00m00s [ 54/192] Installing json-c-0:0.18-9.fc 100% | 0.0 B/s | 83.9 KiB | 00m00s [ 55/192] Installing libtasn1-0:4.21.0- 100% | 174.3 MiB/s | 178.5 KiB | 00m00s [ 56/192] Installing libunistring-0:1.1 100% | 433.6 MiB/s | 1.7 MiB | 00m00s [ 57/192] Installing libidn2-0:2.3.8-4. 100% | 61.0 MiB/s | 562.6 KiB | 00m00s [ 58/192] Installing crypto-policies-0: 100% | 38.9 MiB/s | 159.5 KiB | 00m00s [ 59/192] Installing xz-1:5.8.4-1.fc46. 100% | 62.0 MiB/s | 1.4 MiB | 00m00s [ 60/192] Installing libmount-0:2.42.4- 100% | 200.2 MiB/s | 410.0 KiB | 00m00s [ 61/192] Installing gnupg2-verify-0:2. 100% | 20.5 MiB/s | 357.7 KiB | 00m00s [ 62/192] Installing mpfr-0:4.2.2-4.fc4 100% | 277.0 MiB/s | 850.9 KiB | 00m00s [ 63/192] Installing gawk-0:5.4.1-1.fc4 100% | 101.3 MiB/s | 2.2 MiB | 00m00s [ 64/192] Installing dwz-0:0.17-3.fc45. 100% | 17.9 MiB/s | 292.5 KiB | 00m00s [ 65/192] Installing libksba-0:1.8.1-1. 100% | 212.1 MiB/s | 434.4 KiB | 00m00s [ 66/192] Installing unzip-0:6.0-71.fc4 100% | 25.6 MiB/s | 445.3 KiB | 00m00s [ 67/192] Installing file-libs-0:5.48-3 100% | 685.8 MiB/s | 12.3 MiB | 00m00s [ 68/192] Installing file-0:5.48-3.fc46 100% | 6.3 MiB/s | 103.4 KiB | 00m00s [ 69/192] Installing diffutils-0:3.12-6 100% | 78.2 MiB/s | 1.6 MiB | 00m00s [ 70/192] Installing libattr-0:2.6.0-2. 100% | 0.0 B/s | 25.2 KiB | 00m00s [ 71/192] Installing libeconf-0:0.7.9-4 100% | 64.9 MiB/s | 66.4 KiB | 00m00s [ 72/192] Installing libcap-ng-0:0.9.6- 100% | 69.0 MiB/s | 70.6 KiB | 00m00s [ 73/192] Installing audit-libs-0:4.2.1 100% | 383.9 MiB/s | 393.1 KiB | 00m00s [ 74/192] Installing pam-libs-0:1.7.2-4 100% | 133.7 MiB/s | 136.9 KiB | 00m00s [ 75/192] Installing libcap-0:2.78-2.fc 100% | 12.3 MiB/s | 213.3 KiB | 00m00s [ 76/192] Installing libsemanage-0:3.11 100% | 314.8 MiB/s | 322.4 KiB | 00m00s [ 77/192] Installing libsmartcols-0:2.4 100% | 185.2 MiB/s | 189.6 KiB | 00m00s [ 78/192] Installing lua-libs-0:5.5.1-2 100% | 292.4 MiB/s | 299.4 KiB | 00m00s [ 79/192] Installing libffi-0:3.8.0-1.f 100% | 94.6 MiB/s | 96.9 KiB | 00m00s [ 80/192] Installing p11-kit-0:0.26.5-1 100% | 114.6 MiB/s | 2.6 MiB | 00m00s [ 81/192] Installing alternatives-0:1.3 100% | 3.9 MiB/s | 63.6 KiB | 00m00s [ 82/192] Installing p11-kit-trust-0:0. 100% | 20.4 MiB/s | 480.1 KiB | 00m00s [ 83/192] Installing ngtcp2-0:1.22.1-3. 100% | 164.0 MiB/s | 335.8 KiB | 00m00s [ 84/192] Installing util-linux-core-0: 100% | 72.0 MiB/s | 1.5 MiB | 00m00s [ 85/192] Installing liblastlog2-0:2.42 100% | 7.8 MiB/s | 39.8 KiB | 00m00s [ 86/192] Installing zip-0:3.0-46.fc45. 100% | 35.9 MiB/s | 698.0 KiB | 00m00s [ 87/192] Installing gnupg2-keyboxd-0:2 100% | 33.0 MiB/s | 202.5 KiB | 00m00s [ 88/192] Installing libpsl-0:0.23.3-1. 100% | 79.6 MiB/s | 81.5 KiB | 00m00s [ 89/192] Installing tar-2:1.35-9.fc45. 100% | 119.0 MiB/s | 3.0 MiB | 00m00s [ 90/192] Installing linkdupes-0:0.7.3- 100% | 42.5 MiB/s | 783.5 KiB | 00m00s [ 91/192] Installing libselinux-utils-0 100% | 17.4 MiB/s | 320.4 KiB | 00m00s [ 92/192] Installing libfdisk-0:2.42.4- 100% | 192.0 MiB/s | 393.2 KiB | 00m00s [ 93/192] Installing fips-provider-0:1. 100% | 439.0 MiB/s | 4.8 MiB | 00m00s [ 94/192] Installing openssl-libs-1:4.0 100% | 394.0 MiB/s | 6.7 MiB | 00m00s [ 95/192] Installing coreutils-0:9.12-1 100% | 171.7 MiB/s | 6.4 MiB | 00m00s [ 96/192] Installing ca-certificates-0: 100% | 2.4 MiB/s | 2.5 MiB | 00m01s [ 97/192] Installing gzip-0:1.15-1.fc46 100% | 22.0 MiB/s | 450.7 KiB | 00m00s [ 98/192] Installing util-linux-0:2.42. 100% | 98.9 MiB/s | 3.8 MiB | 00m00s [ 99/192] Installing policycoreutils-0: 100% | 31.0 MiB/s | 921.4 KiB | 00m00s [100/192] Installing selinux-policy-0:4 100% | 1.9 MiB/s | 34.5 KiB | 00m00s [101/192] Installing selinux-policy-tar 100% | 222.0 MiB/s | 15.1 MiB | 00m00s [102/192] Installing rpm-sequoia-0:1.10 100% | 349.6 MiB/s | 2.4 MiB | 00m00s [103/192] Installing libfsverity-0:1.7- 100% | 0.0 B/s | 25.4 KiB | 00m00s [104/192] Installing libevent-0:2.1.13- 100% | 320.5 MiB/s | 984.5 KiB | 00m00s [105/192] Installing ngtcp2-crypto-ossl 100% | 0.0 B/s | 52.5 KiB | 00m00s [106/192] Installing libusb1-0:1.0.30-2 100% | 16.1 MiB/s | 181.8 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [107/192] Installing tpm2-tss-0:4.2.0-1 100% | 277.9 MiB/s | 1.7 MiB | 00m00s [108/192] Installing ima-evm-utils-libs 100% | 56.5 MiB/s | 57.9 KiB | 00m00s [109/192] Installing gnupg2-gpg-agent-0 100% | 27.8 MiB/s | 682.8 KiB | 00m00s [110/192] Installing nettle-0:4.0-5.fc4 100% | 262.0 MiB/s | 805.0 KiB | 00m00s [111/192] Installing gnutls-0:3.8.13-6. 100% | 383.8 MiB/s | 3.8 MiB | 00m00s [112/192] Installing zstd-0:1.5.7-6.fc4 100% | 27.5 MiB/s | 506.1 KiB | 00m00s [113/192] Installing libxml2-0:2.15.4-1 100% | 82.7 MiB/s | 1.7 MiB | 00m00s [114/192] Installing bzip2-0:1.0.8-24.f 100% | 6.1 MiB/s | 99.5 KiB | 00m00s [115/192] Installing add-determinism-0: 100% | 102.8 MiB/s | 2.2 MiB | 00m00s [116/192] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [117/192] Installing cpio-0:2.15-10.fc4 100% | 58.1 MiB/s | 1.1 MiB | 00m00s [118/192] Installing ed-0:1.22.6-1.fc46 100% | 9.3 MiB/s | 153.2 KiB | 00m00s [119/192] Installing patch-0:2.8-6.fc46 100% | 13.9 MiB/s | 228.1 KiB | 00m00s [120/192] Installing libpfm-0:4.14.1-2. 100% | 593.1 MiB/s | 2.4 MiB | 00m00s [121/192] Installing lz4-libs-0:1.10.0- 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [122/192] Installing libarchive-0:3.8.9 100% | 327.4 MiB/s | 1.0 MiB | 00m00s [123/192] Installing libgomp-0:16.2.1-2 100% | 282.7 MiB/s | 578.9 KiB | 00m00s [124/192] Installing libtool-ltdl-0:2.6 100% | 0.0 B/s | 71.1 KiB | 00m00s [125/192] Installing gdbm-libs-1:1.26-1 100% | 132.7 MiB/s | 135.9 KiB | 00m00s [126/192] Installing cyrus-sasl-lib-0:2 100% | 111.4 MiB/s | 2.3 MiB | 00m00s [127/192] Installing openldap-0:2.6.15- 100% | 223.7 MiB/s | 687.2 KiB | 00m00s [128/192] Installing gnupg2-dirmngr-0:2 100% | 26.9 MiB/s | 632.8 KiB | 00m00s [129/192] Installing gnupg2-0:2.4.9-18. 100% | 203.1 MiB/s | 6.5 MiB | 00m00s [130/192] Installing gpgverify-0:2.2-5. 100% | 0.0 B/s | 9.4 KiB | 00m00s [131/192] Installing jansson-0:2.14-5.f 100% | 88.2 MiB/s | 90.3 KiB | 00m00s [132/192] Installing libpkgconf-0:2.5.1 100% | 89.1 MiB/s | 91.3 KiB | 00m00s [133/192] Installing pkgconf-0:2.5.1-2. 100% | 5.8 MiB/s | 95.2 KiB | 00m00s [134/192] Installing pkgconf-pkg-config 100% | 110.8 KiB/s | 1.8 KiB | 00m00s [135/192] Installing systemd-standalone 100% | 53.3 MiB/s | 981.8 KiB | 00m00s [136/192] Installing rpm-libs-0:6.1.0-1 100% | 366.4 MiB/s | 1.1 MiB | 00m00s [137/192] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 40.5 KiB | 00m00s [138/192] Installing rpm-build-libs-0:6 100% | 282.4 MiB/s | 289.2 KiB | 00m00s [139/192] Installing xxhash-libs-0:0.8. 100% | 93.1 MiB/s | 95.4 KiB | 00m00s [140/192] Installing libbrotli-0:1.2.1- 100% | 282.3 MiB/s | 867.3 KiB | 00m00s [141/192] Installing libnghttp2-0:1.69. 100% | 163.3 MiB/s | 167.3 KiB | 00m00s [142/192] Installing libnghttp3-0:1.18. 100% | 161.0 MiB/s | 164.8 KiB | 00m00s [143/192] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [144/192] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.1 KiB | 00m00s [145/192] Installing libverto-0:0.3.2-1 100% | 26.4 MiB/s | 27.1 KiB | 00m00s [146/192] Installing krb5-libs-0:1.22.2 100% | 341.0 MiB/s | 2.4 MiB | 00m00s [147/192] Installing libcbor-0:0.14.0-3 100% | 82.9 MiB/s | 84.9 KiB | 00m00s [148/192] Installing libfido2-0:1.17.0- 100% | 252.0 MiB/s | 258.1 KiB | 00m00s [149/192] Installing libssh-0:0.12.2-1. 100% | 355.4 MiB/s | 727.8 KiB | 00m00s [150/192] Installing libcurl-0:8.23.0-1 100% | 361.9 MiB/s | 1.1 MiB | 00m00s [151/192] Installing elfutils-debuginfo 100% | 4.7 MiB/s | 82.2 KiB | 00m00s [152/192] Installing elfutils-0:0.197-1 100% | 133.5 MiB/s | 3.1 MiB | 00m00s [153/192] Installing binutils-0:2.47.50 100% | 322.6 MiB/s | 24.5 MiB | 00m00s [154/192] Installing gdb-minimal-0:18.1 100% | 277.7 MiB/s | 14.4 MiB | 00m00s [155/192] Installing debugedit-0:5.3-3. 100% | 12.9 MiB/s | 224.1 KiB | 00m00s [156/192] Installing curl-0:8.23.0-1.fc 100% | 19.1 MiB/s | 488.7 KiB | 00m00s [157/192] Installing rpm-0:6.1.0-1.fc46 100% | 73.6 MiB/s | 2.5 MiB | 00m00s [158/192] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [159/192] Installing efi-srpm-macros-0: 100% | 8.1 MiB/s | 41.3 KiB | 00m00s [160/192] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [161/192] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [162/192] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.6 KiB | 00m00s [163/192] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [164/192] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [165/192] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [166/192] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [167/192] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [168/192] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [169/192] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [170/192] Installing openblas-srpm-macr 100% | 0.0 B/s | 404.0 B | 00m00s [171/192] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [172/192] Installing meson-srpm-macros- 100% | 0.0 B/s | 1.9 KiB | 00m00s [173/192] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [174/192] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [175/192] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [176/192] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [177/192] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [178/192] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [179/192] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [180/192] Installing rpm-build-0:6.1.0- 100% | 16.6 MiB/s | 322.1 KiB | 00m00s [181/192] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.6 KiB | 00m00s [182/192] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [183/192] Installing redhat-rpm-config- 100% | 93.0 MiB/s | 190.5 KiB | 00m00s [184/192] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [185/192] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [186/192] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [187/192] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [188/192] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [189/192] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.9 KiB | 00m00s [190/192] Installing which-0:2.25-2.fc4 100% | 4.9 MiB/s | 85.8 KiB | 00m00s [191/192] Installing shadow-utils-2:4.2 100% | 127.3 MiB/s | 3.9 MiB | 00m00s [192/192] Installing info-0:7.3-3.fc45. 100% | 54.7 KiB/s | 372.8 KiB | 00m07s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-3.fc45.noarch add-determinism-0.7.3-3.fc45.x86_64 alternatives-1.33-6.fc45.x86_64 ansible-srpm-macros-1-22.fc45.noarch audit-libs-4.2.1-2.fc45.x86_64 bash-5.3.20-1.fc46.x86_64 binutils-2.47.50-20.fc46.x86_64 build-reproducibility-srpm-macros-0.7.3-3.fc45.noarch bzip2-1.0.8-24.fc45.x86_64 bzip2-libs-1.0.8-24.fc45.x86_64 ca-certificates-2026.2.92_v9.0.319-2.fc46.noarch cmake-srpm-macros-4.3.0-5.fc45.noarch coreutils-9.12-1.fc46.x86_64 coreutils-common-9.12-1.fc46.x86_64 cpio-2.15-10.fc45.x86_64 crypto-policies-20260713-2.gitc42da77.fc45.noarch curl-8.23.0-1.fc46.x86_64 cyrus-sasl-lib-2.1.28-37.fc45.x86_64 debugedit-5.3-3.fc45.x86_64 diffutils-3.12-6.fc45.x86_64 dwz-0.17-3.fc45.x86_64 ed-1.22.6-1.fc46.x86_64 efi-srpm-macros-6-9.fc45.noarch elfutils-0.197-1.fc46.x86_64 elfutils-debuginfod-client-0.197-1.fc46.x86_64 elfutils-libelf-0.197-1.fc46.x86_64 elfutils-libs-0.197-1.fc46.x86_64 erlang-srpm-macros-0.4.1-1.fc46.noarch fedora-gpg-keys-46-0.3.noarch fedora-release-46-0.1.noarch fedora-release-common-46-0.1.noarch fedora-release-identity-basic-46-0.1.noarch fedora-repos-46-0.3.noarch fedora-repos-rawhide-46-0.3.noarch file-5.48-3.fc46.x86_64 file-libs-5.48-3.fc46.x86_64 filesystem-3.18-59.fc45.x86_64 filesystem-srpm-macros-3.18-59.fc45.noarch findutils-4.11.0-2.fc45.x86_64 fips-provider-1.5.3-1.fc46.x86_64 fonts-srpm-macros-5.0.0-4.fc45.noarch forge-srpm-macros-0.4.0-5.fc45.noarch fpc-srpm-macros-1.3-17.fc45.noarch gap-srpm-macros-2-3.fc45.noarch gawk-5.4.1-1.fc45.x86_64 gdb-minimal-18.1-1.fc46.x86_64 gdbm-libs-1.26-1.fc46.x86_64 ghc-srpm-macros-1.10-2.fc45.noarch glibc-2.44.9000-5.fc46.x86_64 glibc-common-2.44.9000-5.fc46.x86_64 glibc-gconv-extra-2.44.9000-5.fc46.x86_64 glibc-minimal-langpack-2.44.9000-5.fc46.x86_64 gmp-6.3.0-6.fc45.x86_64 gnat-srpm-macros-7-3.fc45.noarch gnome-srpm-macros-1.0-2.fc45.noarch gnulib-l10n-20241231-4.fc45.noarch gnupg2-2.4.9-18.fc45.x86_64 gnupg2-dirmngr-2.4.9-18.fc45.x86_64 gnupg2-gpg-agent-2.4.9-18.fc45.x86_64 gnupg2-gpgconf-2.4.9-18.fc45.x86_64 gnupg2-keyboxd-2.4.9-18.fc45.x86_64 gnupg2-verify-2.4.9-18.fc45.x86_64 gnutls-3.8.13-6.fc46.x86_64 go-srpm-macros-3.8.0-3.fc45.noarch gpg-pubkey-4f50a6114cd5c6976a7f1179655a4b02f577861e-6888bc98 gpg-pubkey-b2e766fa50ca6fa2d5ed06fc09d879e09488fb64-6a6b46b4 gpg-pubkey-d924b10d3e810dabdd8b56b596e7e91491211fce-697c9899 gpgverify-2.2-5.fc45.noarch grep-3.12-4.fc45.x86_64 gzip-1.15-1.fc46.x86_64 ima-evm-utils-libs-1.6.2-12.fc45.x86_64 info-7.3-3.fc45.x86_64 jansson-2.14-5.fc45.x86_64 java-srpm-macros-1-9.fc45.noarch json-c-0.18-9.fc45.x86_64 kernel-srpm-macros-1.0-30.fc45.noarch keyutils-libs-1.6.3-8.fc45.x86_64 krb5-libs-1.22.2-9.fc45.x86_64 libacl-2.4.0-2.fc45.x86_64 libarchive-3.8.9-2.fc46.x86_64 libassuan-2.5.7-6.fc45.x86_64 libattr-2.6.0-2.fc45.x86_64 libblkid-2.42.4-2.fc46.x86_64 libbrotli-1.2.1-1.fc46.x86_64 libcap-2.78-2.fc45.x86_64 libcap-ng-0.9.6-1.fc46.x86_64 libcbor-0.14.0-3.fc45.x86_64 libcom_err-1.47.4-2.fc45.x86_64 libcurl-8.23.0-1.fc46.x86_64 libeconf-0.7.9-4.fc45.x86_64 libevent-2.1.13-1.fc46.x86_64 libfdisk-2.42.4-2.fc46.x86_64 libffi-3.8.0-1.fc46.x86_64 libfido2-1.17.0-7.fc46.x86_64 libfsverity-1.7-4.fc45.x86_64 libgcc-16.2.1-2.fc46.1.x86_64 libgcrypt-1.12.4-1.fc46.x86_64 libgomp-16.2.1-2.fc46.1.x86_64 libgpg-error-1.61-2.fc45.x86_64 libidn2-2.3.8-4.fc45.x86_64 libksba-1.8.1-1.fc46.x86_64 liblastlog2-2.42.4-2.fc46.x86_64 libmount-2.42.4-2.fc46.x86_64 libnghttp2-1.69.0-6.fc46.x86_64 libnghttp3-1.18.0-1.fc45.x86_64 libpfm-4.14.1-2.fc46.x86_64 libpkgconf-2.5.1-2.fc45.x86_64 libpsl-0.23.3-1.fc46.x86_64 libselinux-3.11-5.fc46.x86_64 libselinux-utils-3.11-5.fc46.x86_64 libsemanage-3.11-4.fc46.x86_64 libsepol-3.11-2.fc45.x86_64 libsmartcols-2.42.4-2.fc46.x86_64 libssh-0.12.2-1.fc45.x86_64 libssh-config-0.12.2-1.fc45.noarch libstdc++-16.2.1-2.fc46.1.x86_64 libtasn1-4.21.0-2.fc45.x86_64 libtool-ltdl-2.6.2-1.fc46.x86_64 libunistring-1.1-12.fc45.x86_64 libusb1-1.0.30-2.fc45.x86_64 libuuid-2.42.4-2.fc46.x86_64 libverto-0.3.2-13.fc45.x86_64 libxcrypt-4.5.2-4.fc45.x86_64 libxml2-2.15.4-1.fc46.x86_64 libzstd-1.5.7-6.fc45.x86_64 linkdupes-0.7.3-3.fc45.x86_64 lua-libs-5.5.1-2.fc46.x86_64 lua-srpm-macros-1-18.fc45.noarch lz4-libs-1.10.0-5.fc45.x86_64 meson-srpm-macros-1.12.1-2.fc46.noarch mpfr-4.2.2-4.fc45.x86_64 ncurses-base-6.6-3.fc45.noarch ncurses-libs-6.6-3.fc45.x86_64 nettle-4.0-5.fc45.x86_64 ngtcp2-1.22.1-3.fc45.x86_64 ngtcp2-crypto-ossl-1.22.1-3.fc45.x86_64 npth-1.8-5.fc45.x86_64 ocaml-srpm-macros-11-4.fc45.noarch openblas-srpm-macros-2-23.fc46.noarch openldap-2.6.15-1.fc46.x86_64 openssl-libs-4.0.3-1.fc46.x86_64 p11-kit-0.26.5-1.fc45.x86_64 p11-kit-trust-0.26.5-1.fc45.x86_64 package-notes-srpm-macros-0.20-2.fc45.noarch pam-libs-1.7.2-4.fc45.x86_64 patch-2.8-6.fc46.x86_64 pcre2-10.49-1.fc46.x86_64 pcre2-syntax-10.49-1.fc46.noarch perl-srpm-macros-1-65.fc45.noarch pkgconf-2.5.1-2.fc45.x86_64 pkgconf-m4-2.5.1-2.fc45.noarch pkgconf-pkg-config-2.5.1-2.fc45.x86_64 policycoreutils-3.11-2.fc45.x86_64 popt-1.19-11.fc45.x86_64 publicsuffix-list-dafsa-20260624-2.fc45.noarch pyproject-srpm-macros-1.24.0-1.fc46.noarch python-srpm-macros-3.15-2.fc45.noarch qt5-srpm-macros-5.15.18-3.fc45.noarch qt6-srpm-macros-6.12.0-1.fc46.noarch readline-8.3-7.fc46.x86_64 redhat-rpm-config-345-6.fc46.noarch redhat-systemd-presets-102-3.fc45.noarch redhat-systemd-presets-common-102-3.fc45.noarch rpm-6.1.0-1.fc46.x86_64 rpm-build-6.1.0-1.fc46.x86_64 rpm-build-libs-6.1.0-1.fc46.x86_64 rpm-libs-6.1.0-1.fc46.x86_64 rpm-plugin-selinux-6.1.0-1.fc46.x86_64 rpm-sequoia-1.10.3-1.fc46.x86_64 rpm-sign-libs-6.1.0-1.fc46.x86_64 rust-srpm-macros-28.5-2.fc45.noarch sed-4.10-2.fc45.x86_64 selinux-policy-45.23-1.fc46.noarch selinux-policy-targeted-45.23-1.fc46.noarch setup-2.15.1-2.fc45.noarch shadow-utils-4.20.0-2.fc46.x86_64 sqlite-libs-3.54.1-1.fc46.x86_64 systemd-libs-262.1-1.fc46.x86_64 systemd-standalone-sysusers-262.1-1.fc46.x86_64 tar-1.35-9.fc45.x86_64 tpm2-tss-4.2.0-1.fc45.x86_64 tree-sitter-srpm-macros-0.4.6-2.fc45.noarch unzip-6.0-71.fc45.x86_64 util-linux-2.42.4-2.fc46.x86_64 util-linux-core-2.42.4-2.fc46.x86_64 which-2.25-2.fc45.x86_64 xxhash-libs-0.8.4-2.fc46.x86_64 xz-5.8.4-1.fc46.x86_64 xz-libs-5.8.4-1.fc46.x86_64 zig-srpm-macros-1-9.fc45.noarch zip-3.0-46.fc45.x86_64 zlib-ng-compat-2.3.3-6.fc45.x86_64 zstd-1.5.7-6.fc45.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793059200 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-2.fc46.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1793139585.473023/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-mh1ka06_/libroadrunner/libroadrunner.spec) Config(child) 0 minutes 17 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/libroadrunner-2.11.0-2.fc46.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1793139585.473023/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1793139585.473023/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-rawhide-x86_64-1793139585.473023/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.1.0-1.fc46.x86_64 rpm-sequoia-1.10.3-1.fc46.x86_64 dnf5-5.4.6.0-1.fc46.x86_64 dnf5-plugins-5.4.6.0-1.fc46.x86_64 Finish: chroot init Start: build phase for libroadrunner-2.11.0-2.fc46.src.rpm Start: build setup for libroadrunner-2.11.0-2.fc46.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793059200 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 51.3 KiB/s | 21.4 KiB | 00m00s Additional repo copr_mhough_neurofedor 100% | 3.9 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 3.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: blas-devel x86_64 0:3.12.0-12.fc45 fedora 131.9 KiB chrpath x86_64 0:0.16-29.fc45 fedora 58.3 KiB cmake x86_64 0:4.3.0-5.fc45 fedora 40.4 MiB expat-devel x86_64 0:2.9.0-1.fc46 fedora 259.2 KiB f2c x86_64 0:20250303-1.fc46 fedora 694.2 KiB gcc-c++ x86_64 0:16.2.1-2.fc46.1 fedora 46.8 MiB lapack-devel x86_64 0:3.12.0-12.fc45 fedora 1.6 MiB libsbml-devel x86_64 0:5.21.2-100.fc46.biofedora copr_base 399.8 MiB llvm14-devel x86_64 0:14.0.5-15.fc45 fedora 20.9 MiB ncurses-devel x86_64 0:6.6-3.fc45 fedora 895.6 KiB ninja-build x86_64 0:1.13.2-6.fc45 fedora 497.5 KiB poco-devel x86_64 0:1.14.1-3.fc44 fedora 6.4 MiB python3-devel x86_64 0:3.15.1-1.fc46 fedora 2.5 MiB python3-libsbml x86_64 0:5.21.2-100.fc46.biofedora copr_base 34.5 MiB python3-numpy x86_64 1:2.5.4-2.fc46 fedora 43.1 MiB python3-pytest noarch 0:9.1.1-1.fc45 fedora 24.3 MiB rr-libstruct-devel x86_64 0:2.9.2-0.4.git7ff1f47.fc46 copr_base 184.7 KiB sbml-test-corpus noarch 0:20260923-1.fc46 copr_base 813.3 KiB sundials-devel x86_64 0:7.9.0-5.fc46 fedora 36.8 MiB swig x86_64 0:4.5.1-2.fc46 fedora 6.3 MiB zlib-ng-compat-static x86_64 0:2.3.3-6.fc45 fedora 2.1 MiB Installing dependencies: SuperLUMT x86_64 0:4.0.2-2.fc45 fedora 447.6 KiB SuperLUMT-common noarch 0:4.0.2-2.fc45 fedora 679.2 KiB annobin-docs noarch 0:13.33-1.fc46 fedora 99.7 KiB annobin-plugin-gcc x86_64 0:13.33-1.fc46 fedora 726.5 KiB blas x86_64 0:3.12.0-12.fc45 fedora 1.4 MiB blas64 x86_64 0:3.12.0-12.fc45 fedora 1.0 MiB blas64_ x86_64 0:3.12.0-12.fc45 fedora 1.0 MiB cmake-data noarch 0:4.3.0-5.fc45 fedora 9.4 MiB cmake-filesystem x86_64 0:4.3.0-5.fc45 fedora 0.0 B cmake-rpm-macros noarch 0:4.3.0-5.fc45 fedora 8.4 KiB cpp x86_64 0:16.2.1-2.fc46.1 fedora 42.6 MiB emacs-filesystem x86_64 1:31.1-1.fc46 fedora 0.0 B expat x86_64 0:2.9.0-1.fc46 fedora 349.6 KiB f2c-libs x86_64 0:20250303-1.fc46 fedora 136.1 KiB flexiblas x86_64 0:3.5.0-4.fc46 fedora 38.0 KiB flexiblas-netlib x86_64 0:3.5.0-4.fc46 fedora 16.3 MiB flexiblas-openblas-openmp x86_64 0:3.5.0-4.fc46 fedora 39.1 KiB gcc x86_64 0:16.2.1-2.fc46.1 fedora 121.8 MiB gcc-gfortran x86_64 0:16.2.1-2.fc46.1 fedora 45.2 MiB gcc-plugin-annobin x86_64 0:16.2.1-2.fc46.1 fedora 57.1 KiB glibc-devel x86_64 0:2.44.9000-5.fc46 fedora 2.3 MiB jsoncpp x86_64 0:1.9.6-3.fc44 fedora 285.6 KiB kernel-headers x86_64 0:7.3.0-65.fc46 fedora 7.1 MiB lapack x86_64 0:3.12.0-12.fc45 fedora 16.4 MiB lapack64 x86_64 0:3.12.0-12.fc45 fedora 9.8 MiB lapack64_ x86_64 0:3.12.0-12.fc45 fedora 9.8 MiB libatomic x86_64 0:16.2.1-2.fc46.1 fedora 45.6 KiB libedit x86_64 0:3.1-60.20260512cvs.fc45 fedora 248.3 KiB libedit-devel x86_64 0:3.1-60.20260512cvs.fc45 fedora 59.9 KiB libgfortran x86_64 0:16.2.1-2.fc46.1 fedora 3.4 MiB libiodbc x86_64 0:3.52.16-6.fc45 fedora 683.6 KiB libmpc x86_64 0:1.4.1-2.fc45 fedora 168.8 KiB libpng x86_64 2:1.6.58-2.fc45 fedora 253.7 KiB libpq x86_64 0:18.4-4.fc45 fedora 1.1 MiB libquadmath x86_64 0:16.2.1-2.fc46.1 fedora 321.9 KiB libquadmath-devel x86_64 0:16.2.1-2.fc46.1 fedora 22.2 KiB libsbml x86_64 0:5.21.2-100.fc46.biofedora copr_base 10.5 MiB libstdc++-devel x86_64 0:16.2.1-2.fc46.1 fedora 41.2 MiB libuv x86_64 1:1.52.1-2.fc45 fedora 593.2 KiB libxcrypt-devel x86_64 0:4.5.2-4.fc45 fedora 31.0 KiB libxml2-devel x86_64 0:2.15.4-1.fc46 fedora 6.7 MiB llvm14 x86_64 0:14.0.5-15.fc45 fedora 39.1 MiB llvm14-libs x86_64 0:14.0.5-15.fc45 fedora 96.0 MiB llvm14-static x86_64 0:14.0.5-15.fc45 fedora 1.8 GiB make x86_64 1:4.4.1-13.fc45 fedora 1.8 MiB mariadb-connector-c x86_64 0:3.4.11-1.fc46 fedora 514.0 KiB mariadb-connector-c-config noarch 0:3.4.11-1.fc46 fedora 26.4 KiB minizip-ng-compat x86_64 0:4.1.0-5.fc45 fedora 146.1 KiB mpdecimal x86_64 0:4.0.1-4.fc45 fedora 221.2 KiB ncurses-c++-libs x86_64 0:6.6-3.fc45 fedora 153.4 KiB odbcinst-generate noarch 0:2.3.14-36.fc45 fedora 22.5 KiB openblas x86_64 0:0.3.34-1.fc45 fedora 138.1 KiB openblas-openmp x86_64 0:0.3.34-1.fc45 fedora 44.8 MiB openssl-devel x86_64 1:4.0.3-1.fc46 fedora 4.7 MiB openssl3-libs x86_64 1:3.5.9-1.fc46 fedora 9.2 MiB pcre2-devel x86_64 0:10.49-1.fc46 fedora 2.1 MiB pcre2-utf16 x86_64 0:10.49-1.fc46 fedora 659.2 KiB pcre2-utf32 x86_64 0:10.49-1.fc46 fedora 627.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.24.0-1.fc46 fedora 169.0 KiB python-pip-wheel noarch 0:26.2.1-1.fc46 fedora 1.3 MiB python-rpm-macros noarch 0:3.15-2.fc45 fedora 28.0 KiB python3 x86_64 0:3.15.1-1.fc46 fedora 28.7 KiB python3-iniconfig noarch 0:2.3.0-5.fc45 fedora 49.6 KiB python3-libs x86_64 0:3.15.1-1.fc46 fedora 48.2 MiB python3-numpy-f2py x86_64 1:2.5.4-2.fc46 fedora 2.1 MiB python3-packaging noarch 0:26.3-1.fc46 fedora 1.3 MiB python3-pluggy noarch 0:1.7.0-1.fc46 fedora 246.1 KiB python3-pygments noarch 0:2.21.0-1.fc46 fedora 11.5 MiB python3-rpm-generators noarch 0:14-35.fc46 fedora 81.9 KiB python3-rpm-macros noarch 0:3.15-2.fc45 fedora 6.5 KiB rhash x86_64 0:1.4.5-5.fc45 fedora 354.8 KiB rr-libstruct x86_64 0:2.9.2-0.4.git7ff1f47.fc46 copr_base 254.9 KiB suitesparse x86_64 0:7.11.0-3.fc45 fedora 45.7 MiB sundials x86_64 0:7.9.0-5.fc46 fedora 4.5 MiB tzdata noarch 0:2026e-1.fc46 fedora 1.3 MiB utf8proc x86_64 0:2.11.3-3.fc45 fedora 373.5 KiB utf8proc-devel x86_64 0:2.11.3-3.fc45 fedora 33.5 KiB vim-filesystem noarch 2:9.2.1202-1.fc46 fedora 40.0 B xz-devel x86_64 1:5.8.4-1.fc46 fedora 258.8 KiB zlib-ng-compat-devel x86_64 0:2.3.3-6.fc45 fedora 107.0 KiB Transaction Summary: Installing: 122 packages Total size of inbound packages is 612 MiB. Need to download 0 B. After this operation, 3 GiB extra will be used (install 3 GiB, remove 0 B). [ 1/122] chrpath-0:0.16-29.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/122] f2c-0:20250303-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/122] ninja-build-0:1.13.2-6.fc45.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/122] python3-numpy-1:2.5.4-2.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/122] python3-pytest-0:9.1.1-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/122] rr-libstruct-devel-0:2.9.2-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/122] swig-0:4.5.1-2.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/122] blas-devel-0:3.12.0-12.fc45.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/122] cmake-0:4.3.0-5.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/122] expat-devel-0:2.9.0-1.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/122] gcc-c++-0:16.2.1-2.fc46.1.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/122] lapack-devel-0:3.12.0-12.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/122] libsbml-devel-0:5.21.2-100.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/122] llvm14-devel-0:14.0.5-15.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/122] ncurses-devel-0:6.6-3.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/122] poco-devel-0:1.14.1-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/122] python3-devel-0:3.15.1-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/122] python3-libsbml-0:5.21.2-100. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/122] sbml-test-corpus-0:20260923-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/122] sundials-devel-0:7.9.0-5.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/122] zlib-ng-compat-static-0:2.3.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/122] f2c-libs-0:20250303-1.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/122] vim-filesystem-2:9.2.1202-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/122] flexiblas-netlib-0:3.5.0-4.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/122] python3-numpy-f2py-1:2.5.4-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/122] python3-iniconfig-0:2.3.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/122] python3-packaging-0:26.3-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/122] python3-pluggy-0:1.7.0-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/122] python3-pygments-0:2.21.0-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/122] cmake-filesystem-0:4.3.0-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/122] rr-libstruct-0:2.9.2-0.4.git7 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/122] blas-0:3.12.0-12.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/122] blas64-0:3.12.0-12.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/122] blas64_-0:3.12.0-12.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/122] cmake-data-0:4.3.0-5.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/122] expat-0:2.9.0-1.fc46.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/122] jsoncpp-0:1.9.6-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/122] libuv-1:1.52.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/122] make-1:4.4.1-13.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/122] rhash-0:1.4.5-5.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/122] gcc-0:16.2.1-2.fc46.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/122] libmpc-0:1.4.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/122] lapack-0:3.12.0-12.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/122] lapack64-0:3.12.0-12.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/122] lapack64_-0:3.12.0-12.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/122] libsbml-0:5.21.2-100.fc46.bio 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/122] llvm14-0:14.0.5-15.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/122] llvm14-libs-0:14.0.5-15.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/122] llvm14-static-0:14.0.5-15.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/122] ncurses-c++-libs-0:6.6-3.fc45 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/122] poco-activerecord-0:1.14.1-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/122] poco-cppparser-0:1.14.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/122] poco-crypto-0:1.14.1-3.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/122] poco-data-0:1.14.1-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/122] poco-encodings-0:1.14.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/122] poco-foundation-0:1.14.1-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/122] poco-json-0:1.14.1-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/122] poco-jwt-0:1.14.1-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/122] poco-mongodb-0:1.14.1-3.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/122] poco-mysql-0:1.14.1-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/122] poco-net-0:1.14.1-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/122] poco-netssl-0:1.14.1-3.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/122] poco-odbc-0:1.14.1-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/122] poco-pdf-0:1.14.1-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/122] poco-postgresql-0:1.14.1-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/122] poco-prometheus-0:1.14.1-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/122] poco-redis-0:1.14.1-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/122] poco-sqlite-0:1.14.1-3.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/122] poco-util-0:1.14.1-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/122] poco-xml-0:1.14.1-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/122] poco-zip-0:1.14.1-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/122] python3-libs-0:3.15.1-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/122] minizip-ng-compat-0:4.1.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/122] libgfortran-0:16.2.1-2.fc46.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/122] sundials-0:7.9.0-5.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/122] zlib-ng-compat-devel-0:2.3.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/122] flexiblas-0:3.5.0-4.fc46.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/122] flexiblas-openblas-openmp-0:3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/122] libquadmath-0:16.2.1-2.fc46.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/122] emacs-filesystem-1:31.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/122] cpp-0:16.2.1-2.fc46.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/122] libedit-0:3.1-60.20260512cvs. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/122] openssl3-libs-1:3.5.9-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/122] utf8proc-0:2.11.3-3.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/122] mariadb-connector-c-0:3.4.11- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/122] libiodbc-0:3.52.16-6.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/122] libpng-2:1.6.58-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/122] libpq-0:18.4-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/122] mpdecimal-0:4.0.1-4.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/122] python-pip-wheel-0:26.2.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/122] tzdata-0:2026e-1.fc46.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/122] SuperLUMT-0:4.0.2-2.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/122] suitesparse-0:7.11.0-3.fc45.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/122] openblas-openmp-0:0.3.34-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/122] mariadb-connector-c-config-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/122] odbcinst-generate-0:2.3.14-36 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/122] SuperLUMT-common-0:4.0.2-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/122] python3-0:3.15.1-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/122] pcre2-devel-0:10.49-1.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/122] pcre2-utf16-0:10.49-1.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/122] pcre2-utf32-0:10.49-1.fc46.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/122] utf8proc-devel-0:2.11.3-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/122] openblas-0:0.3.34-1.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/122] libedit-devel-0:3.1-60.202605 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/122] libstdc++-devel-0:16.2.1-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/122] glibc-devel-0:2.44.9000-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/122] libxcrypt-devel-0:4.5.2-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/122] libatomic-0:16.2.1-2.fc46.1.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/122] gcc-gfortran-0:16.2.1-2.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/122] kernel-headers-0:7.3.0-65.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/122] libquadmath-devel-0:16.2.1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/122] libxml2-devel-0:2.15.4-1.fc46 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/122] xz-devel-1:5.8.4-1.fc46.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/122] openssl-devel-1:4.0.3-1.fc46. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/122] annobin-plugin-gcc-0:13.33-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/122] gcc-plugin-annobin-0:16.2.1-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/122] annobin-docs-0:13.33-1.fc46.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/122] pyproject-rpm-macros-0:1.24.0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/122] python-rpm-macros-0:3.15-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/122] python3-rpm-generators-0:14-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/122] python3-rpm-macros-0:3.15-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/122] cmake-rpm-macros-0:4.3.0-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m01s Running transaction [ 1/124] Verify package files 100% | 58.0 B/s | 122.0 B | 00m02s [ 2/124] Prepare transaction 100% | 701.0 B/s | 122.0 B | 00m00s [ 3/124] Installing libgfortran-0:16.2 100% | 378.0 MiB/s | 3.4 MiB | 00m00s [ 4/124] Installing cmake-filesystem-0 100% | 9.1 MiB/s | 9.4 KiB | 00m00s [ 5/124] Installing libmpc-0:1.4.1-2.f 100% | 166.4 MiB/s | 170.4 KiB | 00m00s [ 6/124] Installing expat-0:2.9.0-1.fc 100% | 20.2 MiB/s | 351.7 KiB | 00m00s [ 7/124] Installing zlib-ng-compat-dev 100% | 106.0 MiB/s | 108.6 KiB | 00m00s [ 8/124] Installing python-rpm-macros- 100% | 0.0 B/s | 28.9 KiB | 00m00s [ 9/124] Installing libquadmath-0:16.2 100% | 315.6 MiB/s | 323.2 KiB | 00m00s [ 10/124] Installing python3-rpm-macros 100% | 6.6 MiB/s | 6.8 KiB | 00m00s [ 11/124] Installing blas-0:3.12.0-12.f 100% | 54.9 MiB/s | 1.5 MiB | 00m00s [ 12/124] Installing lapack-0:3.12.0-12 100% | 119.0 MiB/s | 17.6 MiB | 00m00s [ 13/124] Installing blas64-0:3.12.0-12 100% | 515.6 MiB/s | 1.0 MiB | 00m00s [ 14/124] Installing blas64_-0:3.12.0-1 100% | 517.0 MiB/s | 1.0 MiB | 00m00s [ 15/124] Installing utf8proc-0:2.11.3- 100% | 366.1 MiB/s | 374.9 KiB | 00m00s [ 16/124] Installing poco-foundation-0: 100% | 452.6 MiB/s | 2.3 MiB | 00m00s [ 17/124] Installing poco-data-0:1.14.1 100% | 480.8 MiB/s | 2.4 MiB | 00m00s [ 18/124] Installing poco-net-0:1.14.1- 100% | 363.2 MiB/s | 1.5 MiB | 00m00s [ 19/124] Installing poco-json-0:1.14.1 100% | 400.4 MiB/s | 410.0 KiB | 00m00s [ 20/124] Installing poco-xml-0:1.14.1- 100% | 282.9 MiB/s | 579.3 KiB | 00m00s [ 21/124] Installing poco-util-0:1.14.1 100% | 266.4 MiB/s | 545.6 KiB | 00m00s [ 22/124] Installing openssl3-libs-1:3. 100% | 438.8 MiB/s | 9.2 MiB | 00m00s [ 23/124] Installing poco-crypto-0:1.14 100% | 309.6 MiB/s | 317.1 KiB | 00m00s [ 24/124] Installing libedit-0:3.1-60.2 100% | 244.1 MiB/s | 250.0 KiB | 00m00s [ 25/124] Installing llvm14-libs-0:14.0 100% | 479.9 MiB/s | 96.0 MiB | 00m00s [ 26/124] Installing minizip-ng-compat- 100% | 143.5 MiB/s | 146.9 KiB | 00m00s [ 27/124] Installing libsbml-0:5.21.2-1 100% | 454.8 MiB/s | 10.5 MiB | 00m00s [ 28/124] Installing make-1:4.4.1-13.fc 100% | 85.9 MiB/s | 1.8 MiB | 00m00s [ 29/124] Installing vim-filesystem-2:9 100% | 4.7 MiB/s | 4.8 KiB | 00m00s [ 30/124] Installing rr-libstruct-0:2.9 100% | 124.9 MiB/s | 255.8 KiB | 00m00s [ 31/124] Installing llvm14-0:14.0.5-15 100% | 355.7 MiB/s | 39.1 MiB | 00m00s [ 32/124] Installing poco-jwt-0:1.14.1- 100% | 211.9 MiB/s | 217.0 KiB | 00m00s [ 33/124] Installing poco-netssl-0:1.14 100% | 329.4 MiB/s | 337.3 KiB | 00m00s [ 34/124] Installing poco-mongodb-0:1.1 100% | 243.2 MiB/s | 249.0 KiB | 00m00s [ 35/124] Installing poco-prometheus-0: 100% | 144.1 MiB/s | 147.6 KiB | 00m00s [ 36/124] Installing poco-redis-0:1.14. 100% | 147.3 MiB/s | 150.9 KiB | 00m00s [ 37/124] Installing poco-activerecord- 100% | 0.0 B/s | 28.6 KiB | 00m00s [ 38/124] Installing poco-sqlite-0:1.14 100% | 537.6 MiB/s | 550.5 KiB | 00m00s [ 39/124] Installing poco-cppparser-0:1 100% | 229.8 MiB/s | 235.3 KiB | 00m00s [ 40/124] Installing poco-encodings-0:1 100% | 438.1 MiB/s | 897.2 KiB | 00m00s [ 41/124] Installing poco-zip-0:1.14.1- 100% | 251.0 MiB/s | 257.0 KiB | 00m00s [ 42/124] Installing utf8proc-devel-0:2 100% | 0.0 B/s | 34.0 KiB | 00m00s [ 43/124] Installing lapack64_-0:3.12.0 100% | 425.6 MiB/s | 9.8 MiB | 00m00s [ 44/124] Installing lapack64-0:3.12.0- 100% | 424.8 MiB/s | 9.8 MiB | 00m00s [ 45/124] Installing pyproject-rpm-macr 100% | 167.4 MiB/s | 171.5 KiB | 00m00s [ 46/124] Installing expat-devel-0:2.9. 100% | 255.7 MiB/s | 261.8 KiB | 00m00s [ 47/124] Installing cpp-0:16.2.1-2.fc4 100% | 352.0 MiB/s | 42.6 MiB | 00m00s [ 48/124] Installing annobin-docs-0:13. 100% | 12.3 MiB/s | 100.8 KiB | 00m00s [ 49/124] Installing openssl-devel-1:4. 100% | 74.2 MiB/s | 5.6 MiB | 00m00s [ 50/124] Installing xz-devel-1:5.8.4-1 100% | 128.2 MiB/s | 262.6 KiB | 00m00s [ 51/124] Installing libxml2-devel-0:2. 100% | 216.9 MiB/s | 6.7 MiB | 00m00s [ 52/124] Installing libsbml-devel-0:5. 100% | 577.1 MiB/s | 399.9 MiB | 00m01s [ 53/124] Installing kernel-headers-0:7 100% | 225.6 MiB/s | 7.2 MiB | 00m00s [ 54/124] Installing glibc-devel-0:2.44 100% | 184.5 MiB/s | 2.4 MiB | 00m00s [ 55/124] Installing libxcrypt-devel-0: 100% | 32.5 MiB/s | 33.3 KiB | 00m00s [ 56/124] Installing libatomic-0:16.2.1 100% | 45.6 MiB/s | 46.7 KiB | 00m00s [ 57/124] Installing gcc-0:16.2.1-2.fc4 100% | 420.3 MiB/s | 121.9 MiB | 00m00s [ 58/124] Installing libquadmath-devel- 100% | 23.1 MiB/s | 23.7 KiB | 00m00s [ 59/124] Installing gcc-gfortran-0:16. 100% | 353.6 MiB/s | 45.3 MiB | 00m00s [ 60/124] Installing blas-devel-0:3.12. 100% | 44.5 MiB/s | 136.6 KiB | 00m00s [ 61/124] Installing libstdc++-devel-0: 100% | 504.0 MiB/s | 41.3 MiB | 00m00s [ 62/124] Installing openblas-0:0.3.34- 100% | 136.6 MiB/s | 139.9 KiB | 00m00s [ 63/124] Installing openblas-openmp-0: 100% | 648.8 MiB/s | 44.8 MiB | 00m00s [ 64/124] Installing flexiblas-netlib-0 100% | 313.5 MiB/s | 16.3 MiB | 00m00s [ 65/124] Installing flexiblas-0:3.5.0- 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 66/124] Installing flexiblas-openblas 100% | 39.0 MiB/s | 40.0 KiB | 00m00s [ 67/124] Installing suitesparse-0:7.11 100% | 531.8 MiB/s | 45.7 MiB | 00m00s [ 68/124] Installing pcre2-utf32-0:10.4 100% | 306.6 MiB/s | 627.9 KiB | 00m00s [ 69/124] Installing pcre2-utf16-0:10.4 100% | 322.3 MiB/s | 660.0 KiB | 00m00s [ 70/124] Installing pcre2-devel-0:10.4 100% | 96.6 MiB/s | 2.1 MiB | 00m00s [ 71/124] Installing SuperLUMT-common-0 100% | 664.3 MiB/s | 680.2 KiB | 00m00s [ 72/124] Installing SuperLUMT-0:4.0.2- 100% | 219.0 MiB/s | 448.4 KiB | 00m00s [ 73/124] Installing sundials-0:7.9.0-5 100% | 346.9 MiB/s | 4.5 MiB | 00m00s [ 74/124] Installing odbcinst-generate- 100% | 877.2 KiB/s | 23.7 KiB | 00m00s [ 75/124] Installing libiodbc-0:3.52.16 100% | 37.3 MiB/s | 687.6 KiB | 00m00s [ 76/124] Installing poco-odbc-0:1.14.1 100% | 365.6 MiB/s | 1.1 MiB | 00m00s [ 77/124] Installing mariadb-connector- 100% | 0.0 B/s | 27.2 KiB | 00m00s [ 78/124] Installing mariadb-connector- 100% | 253.7 MiB/s | 519.7 KiB | 00m00s [ 79/124] Installing poco-mysql-0:1.14. 100% | 53.6 MiB/s | 219.5 KiB | 00m00s [ 80/124] Installing tzdata-0:2026e-1.f 100% | 56.5 MiB/s | 1.5 MiB | 00m00s [ 81/124] Installing python-pip-wheel-0 100% | 634.1 MiB/s | 1.3 MiB | 00m00s [ 82/124] Installing mpdecimal-0:4.0.1- 100% | 36.2 MiB/s | 222.7 KiB | 00m00s [ 83/124] Installing python3-libs-0:3.1 100% | 360.3 MiB/s | 48.6 MiB | 00m00s [ 84/124] Installing python3-0:3.15.1-1 100% | 1.7 MiB/s | 30.4 KiB | 00m00s [ 85/124] Installing python3-packaging- 100% | 326.5 MiB/s | 1.3 MiB | 00m00s [ 86/124] Installing python3-rpm-genera 100% | 0.0 B/s | 83.1 KiB | 00m00s [ 87/124] Installing ninja-build-0:1.13 100% | 28.8 MiB/s | 500.6 KiB | 00m00s [ 88/124] Installing cmake-rpm-macros-0 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 89/124] Installing python3-numpy-1:2. 100% | 352.9 MiB/s | 43.4 MiB | 00m00s [ 90/124] Installing python3-numpy-f2py 100% | 84.4 MiB/s | 2.2 MiB | 00m00s [ 91/124] Installing python3-iniconfig- 100% | 52.7 MiB/s | 54.0 KiB | 00m00s [ 92/124] Installing python3-pluggy-0:1 100% | 62.3 MiB/s | 255.2 KiB | 00m00s [ 93/124] Installing python3-pygments-0 100% | 221.0 MiB/s | 11.7 MiB | 00m00s [ 94/124] Installing libpq-0:18.4-4.fc4 100% | 284.3 MiB/s | 1.1 MiB | 00m00s [ 95/124] Installing poco-postgresql-0: 100% | 469.2 MiB/s | 480.4 KiB | 00m00s [ 96/124] Installing libpng-2:1.6.58-2. 100% | 248.9 MiB/s | 254.9 KiB | 00m00s [ 97/124] Installing poco-pdf-0:1.14.1- 100% | 343.0 MiB/s | 1.0 MiB | 00m00s [ 98/124] Installing emacs-filesystem-1 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 99/124] Installing ncurses-c++-libs-0 100% | 75.6 MiB/s | 154.9 KiB | 00m00s [100/124] Installing ncurses-devel-0:6. 100% | 35.1 MiB/s | 1.0 MiB | 00m00s [101/124] Installing libedit-devel-0:3. 100% | 65.9 MiB/s | 67.5 KiB | 00m00s [102/124] Installing llvm14-static-0:14 100% | 521.5 MiB/s | 1.8 GiB | 00m04s [103/124] Installing rhash-0:1.4.5-5.fc 100% | 19.5 MiB/s | 360.1 KiB | 00m00s [104/124] Installing libuv-1:1.52.1-2.f 100% | 291.0 MiB/s | 596.0 KiB | 00m00s [105/124] Installing jsoncpp-0:1.9.6-3. 100% | 25.5 MiB/s | 287.1 KiB | 00m00s [106/124] Installing cmake-data-0:4.3.0 100% | 118.5 MiB/s | 10.1 MiB | 00m00s [107/124] Installing cmake-0:4.3.0-5.fc 100% | 348.4 MiB/s | 40.4 MiB | 00m00s [108/124] Installing f2c-libs-0:2025030 100% | 134.3 MiB/s | 137.5 KiB | 00m00s [109/124] Installing f2c-0:20250303-1.f 100% | 32.4 MiB/s | 696.4 KiB | 00m00s [110/124] Installing llvm14-devel-0:14. 100% | 233.5 MiB/s | 21.3 MiB | 00m00s [111/124] Installing poco-devel-0:1.14. 100% | 138.7 MiB/s | 6.5 MiB | 00m00s [112/124] Installing python3-pytest-0:9 100% | 359.4 MiB/s | 24.4 MiB | 00m00s [113/124] Installing python3-devel-0:3. 100% | 96.5 MiB/s | 2.5 MiB | 00m00s [114/124] Installing python3-libsbml-0: 100% | 595.1 MiB/s | 34.5 MiB | 00m00s [115/124] Installing sbml-test-corpus-0 100% | 199.2 MiB/s | 816.1 KiB | 00m00s [116/124] Installing sundials-devel-0:7 100% | 473.6 MiB/s | 36.9 MiB | 00m00s [117/124] Installing gcc-c++-0:16.2.1-2 100% | 354.9 MiB/s | 46.8 MiB | 00m00s [118/124] Installing lapack-devel-0:3.1 100% | 534.1 MiB/s | 1.6 MiB | 00m00s [119/124] Installing annobin-plugin-gcc 100% | 59.3 MiB/s | 728.1 KiB | 00m00s [120/124] Installing gcc-plugin-annobin 100% | 5.2 MiB/s | 58.7 KiB | 00m00s [121/124] Installing rr-libstruct-devel 100% | 183.0 MiB/s | 187.4 KiB | 00m00s [122/124] Installing zlib-ng-compat-sta 100% | 298.8 MiB/s | 2.1 MiB | 00m00s [123/124] Installing swig-0:4.5.1-2.fc4 100% | 146.1 MiB/s | 6.4 MiB | 00m00s [124/124] Installing chrpath-0:0.16-29. 100% | 373.1 KiB/s | 60.1 KiB | 00m00s Warning: skipped OpenPGP checks for 6 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793059200 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-2.fc46.src.rpm Updating and loading repositories: fedora 100% | 98.4 KiB/s | 21.4 KiB | 00m00s Additional repo copr_mhough_neurofedor 100% | 7.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 7.8 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "blas-devel-3.12.0-12.fc45.x86_64" is already installed. Package "chrpath-0.16-29.fc45.x86_64" is already installed. Package "cmake-4.3.0-5.fc45.x86_64" is already installed. Package "expat-devel-2.9.0-1.fc46.x86_64" is already installed. Package "f2c-20250303-1.fc46.x86_64" is already installed. Package "gcc-c++-16.2.1-2.fc46.1.x86_64" is already installed. Package "lapack-devel-3.12.0-12.fc45.x86_64" is already installed. Package "libsbml-devel-5.21.2-100.fc46.biofedora.x86_64" is already installed. Package "llvm14-devel-14.0.5-15.fc45.x86_64" is already installed. Package "ncurses-devel-6.6-3.fc45.x86_64" is already installed. Package "ninja-build-1.13.2-6.fc45.x86_64" is already installed. Package "poco-devel-1.14.1-3.fc44.x86_64" is already installed. Package "python3-devel-3.15.1-1.fc46.x86_64" is already installed. Package "python3-libsbml-5.21.2-100.fc46.biofedora.x86_64" is already installed. Package "python3-numpy-1:2.5.4-2.fc46.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "rr-libstruct-devel-2.9.2-0.4.git7ff1f47.fc46.x86_64" is already installed. Package "sbml-test-corpus-20260923-1.fc46.noarch" is already installed. Package "sundials-devel-7.9.0-5.fc46.x86_64" is already installed. Package "swig-4.5.1-2.fc46.x86_64" is already installed. Package "zlib-ng-compat-static-2.3.3-6.fc45.x86_64" is already installed. Finish: build setup for libroadrunner-2.11.0-2.fc46.src.rpm Start: rpmbuild libroadrunner-2.11.0-2.fc46.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793059200 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.gVRh87 Creating(rpmbuild.env): /builddir/build/BUILD/libroadrunner-2.11.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/libroadrunner-2.11.0-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="x86_64" RPM_OS="linux" RPM_BUILD_NCPUS="4" RPM_SPECPARTS_DIR="/builddir/build/BUILD/libroadrunner-2.11.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="libroadrunner" RPM_PACKAGE_VERSION="2.11.0" RPM_PACKAGE_RELEASE="2.fc46" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BRpe3j + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + rm -rf roadrunner-2.11.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/libroadrunner-2.11.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd roadrunner-2.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rpmuncompress /builddir/build/SOURCES/libroadrunner-2.11.0-tests-distrib-braces.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + bash /builddir/build/SOURCES/libroadrunner-fedora-transform.sh . RoadRunner transform applied. + grep -qF 'find_package(ZLIB CONFIG REQUIRED COMPONENTS static)' CMakeLists.txt + sed -i 's/find_package(ZLIB CONFIG REQUIRED COMPONENTS static)/find_package(ZLIB CONFIG REQUIRED)/' CMakeLists.txt + sed -i '\#include "llvm/Transforms/InstCombine/InstCombine.h"#i #include ' source/llvm/LLVMIncludes.h + sed -i s#llvm/Support/TargetRegistry.h#llvm/MC/TargetRegistry.h# source/llvm/Jit.cpp source/llvm/ModelGeneratorContext.cpp source/llvm/ModelResources.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hUeHmK + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd roadrunner-2.11.0 + export LLVM_DIR=/usr/lib64/llvm14 + LLVM_DIR=/usr/lib64/llvm14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DCMAKE_BUILD_TYPE=Release -DRR_DEPENDENCIES_INSTALL_PREFIX=/usr -DLLVM_INSTALL_PREFIX=/usr/lib64/llvm14 -DBUILD_PYTHON=ON -DBUILD_LLVM=ON -DBUILD_RR_CAPI=ON -DBUILD_TESTS=ON -- The CXX compiler identification is GNU 16.2.1 -- The C compiler identification is GNU 16.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build on 64-bit platform 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.15 (found version "3.15.1") found components: Interpreter Development NumPy Development.Module Development.Embed -- PROJECT_BINARY_DIR /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build -- not building legacy C backend -- CMAKE_PREFIX_PATH /usr/cmake;/usr/lib/cmake;/usr/lib/cmake/Poco;/usr/lib64/cmake;/usr/lib64/cmake/Poco ZLIB::ZLIBSTATIC BINARY_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build ZLIB::ZLIBSTATIC IMPORTED = TRUE ZLIB::ZLIBSTATIC IMPORTED_CONFIGURATIONS = RELEASE ZLIB::ZLIBSTATIC INTERFACE_INCLUDE_DIRECTORIES = /usr/include ZLIB::ZLIBSTATIC LOCATION = /usr/lib64/libz.a ZLIB::ZLIBSTATIC LOCATION_Release = /usr/lib64/libz.a ZLIB::ZLIBSTATIC MACOSX_PACKAGE_LOCATION = /usr/lib64/libz.a ZLIB::ZLIBSTATIC NAME = ZLIB::ZLIBSTATIC ZLIB::ZLIBSTATIC SOURCE_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0 ZLIB::ZLIBSTATIC SYSTEM = ON ZLIB::ZLIBSTATIC TYPE = STATIC_LIBRARY ZLIB::ZLIBSTATIC VS_DEPLOYMENT_LOCATION = /usr/lib64/libz.a expat::expat BINARY_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build expat::expat IMPORTED = TRUE expat::expat IMPORTED_CONFIGURATIONS = NOCONFIG expat::expat INTERFACE_INCLUDE_DIRECTORIES = /usr/include expat::expat INTERFACE_LINK_LIBRARIES = m expat::expat LOCATION = /usr/lib64/libexpat.so.1.13.0 expat::expat LOCATION_Release = /usr/lib64/libexpat.so.1.13.0 expat::expat MACOSX_PACKAGE_LOCATION = /usr/lib64/libexpat.so.1.13.0 expat::expat NAME = expat::expat expat::expat POSITION_INDEPENDENT_CODE = True expat::expat SOURCE_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0 expat::expat SYSTEM = ON expat::expat TYPE = SHARED_LIBRARY expat::expat VS_DEPLOYMENT_LOCATION = /usr/lib64/libexpat.so.1.13.0 -- EXPAT_LIBRARY: /usr/lib64/libexpat.so.1.13.0 -- 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.13.0 (found version "2.9.0") -- LLVM llvm-config found at: /usr/lib64/llvm14/bin/llvm-config -- Found LLVM: /usr/lib64/llvm14/include -- Found OpenMP_C: -fopenmp (found version "5.2") -- Found OpenMP_CXX: -fopenmp (found version "5.2") -- Found OpenMP: TRUE (found version "5.2") -- Found Curses: /usr/lib64/libcurses.so -- CMAKE_INSTALL_LIBDIR lib64 -- LLVM_FLAGS -I/usr/lib64/llvm14/include -std=c++14 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LIBRARIES /usr/lib64/llvm14/lib/libLLVM-14.so} -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.1 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Found SWIG: /usr/bin/swig (found suitable version "4.5.1", minimum required is "4.0.1") found components: python java -- SWIG found: /usr/bin/swig -- swig_version 4.5.1 PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- RR_PYTHON_TESTING_BUILD_PREFIX: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests -- Building TestModelFactory -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.1 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Found SWIG: /usr/bin/swig (found suitable version "4.5.1", minimum required is "4.0.1") found components: python -- Adding swig executable: TestModelFactory -- Swig target "TestModelFactory" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "TestModelFactory" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.1 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Adding swig executable: SettingTestsSwigAPI -- Swig target "SettingTestsSwigAPI" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "SettingTestsSwigAPI" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.1 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Adding swig executable: picklable_swig -- Swig target "picklable_swig" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "picklable_swig" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- PyTestTests python_tests_AutomaticMoietyConservationAnalysisTests;python_tests_ForwardSensitivitySolverTests;python_tests_IntegratorTests;python_tests_JacobianTests;python_tests_TestModelFactoryTests;python_tests_NamedArrayTests;python_tests_Python_api_tests;python_tests_SteadyStateSolverTests;python_tests_StructuralAnalysisTests;python_tests_RoadRunnerMap;python_tests_AutoPluginTest;python_tests_RRTests;python_tests_SettingTests;python_tests_RunStochasticTestSuite -- CMAKE_BINARY_DIR /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build -- building tests -- ######################################################## # Build Summary for libroadrunner 2.11.0 ######################################################## For up-to-date news and releases visit libroadrunner.org Configured on host ------------------------------------------------------------------------------- CMake variables ------------------------------------------------------------------------------- CMAKE_C_COMPILER /usr/bin/gcc CMAKE_CXX_COMPILER /usr/bin/g++ BUILD_DEFINITIONS CMAKE_SYSTEM_VERSION 7.0.10-201.fc44.x86_64 ROADRUNNER_VERSION 2.11.0 CMAKE_CXX_COMPILER_ID GNU CMAKE_CXX_COMPILER_VERSION 16.2.1 CMAKE_CXX_STANDARD 17 CMAKE_POSITION_INDEPENDENT_CODE ON CMAKE_INSTALL_RPATH $ORIGIN;$ORIGIN/../lib64 CMAKE_CXX_FLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 CMAKE_C_FLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CMAKE_CXX_FLAGS_RELEASE -DNDEBUG CMAKE_C_FLAGS_RELEASE -DNDEBUG CMAKE_CXX_FLAGS_DEBUG -g CMAKE_C_FLAGS_DEBUG -g CMAKE_INSTALL_PREFIX /usr CMAKE_VERBOSE_MAKEFILE TRUE CMAKE_BUILD_TYPE Release CMAKE_RUNTIME_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/bin CMAKE_LIBRARY_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib CMAKE_ARCHIVE_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib ------------------------------------------------------------------------------- Options ------------------------------------------------------------------------------- Host OS Linux Host architecture x86_64 CMake Generator Ninja With LLVM? ON With legacy C? (DEP) OFF llvm-6.x install prefix /usr/lib64/llvm14 Build test tools? OFF Build tests? ON Build Python bindings ON Site-packages directory /usr/site-packages Python roadrunner install prefix /usr/site-packages/roadrunner Build Python ctypes api Build conda recipe Build roadrunner C API ON Build apps OFF Build examples OFF Install sbml models? OFF Build Java bindings? OFF Package roadrunner? OFF Build with address sanitizer? OFF PYTHON_PACKAGE_SITE_DIR_BUILD_TREE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner RR_PYTHON_TESTING_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests PYTHON_PACKAGE_SITE_DIR /usr/site-packages PYTHON_PACKAGE_INSTALL_PREFIX /usr/site-packages/roadrunner RR_PYTHON_TESTING_INSTALL_PREFIX /usr/site-packages/roadrunner/tests ------------------------------------------------------------------------------- rrplugins ------------------------------------------------------------------------------- Features: Build rrplugins package? OFF Build rrplugins as shared library? OFF Build rrplugins as static library? OFF Where to install python rrplugins? /usr/site-packages/rrplugins Languages Build the C API? OFF Build the Python API? OFF Plugins available: Test Model OFF Add Noise OFF Chi-squared OFF Bifurcation Auto2k OFF Demo Plugin OFF ------------------------------------------------------------------------------- Python Variables ------------------------------------------------------------------------------- Note: you can change these by setting the Python_ROOT_DIR variable BUILD_PYTHON ON Python_ROOT_DIR /usr/bin Python_FOUND TRUE Python_Interpreter_FOUND TRUE Python_EXECUTABLE /usr/bin/python3.15 Python_INTERPRETER_ID Python IronPython Python_STDLIB /usr/lib64/python3.15 Python_STDARCH /usr/lib64/python3.15 Python_SITELIB /usr/lib/python3.15/site-packages Python_SITEARCH /usr/lib64/python3.15/site-packages Python_SOABI cpython-315-x86_64-linux-gnu Python_Compiler_FOUND FALSE Python_COMPILER Python_COMPILER_ID Python_DOTNET_LAUNCHER Python_Development_FOUND TRUE Python_Development .Module_FOUND Python_Development .Embed_FOUND Python_INCLUDE_DIRS /usr/include/python3.15 Python_LINK_OPTIONS Python_LIBRARY Python_LIBRARIES /usr/lib64/libpython3.15.so Python_LIBRARY_DIRS /usr/lib64 Python_RUNTIME_LIBRARY_DIRS /usr/lib64 Python_VERSION 3.15.1 Python_VERSION_MAJOR 3 Python_VERSION_MINOR 15 Python_VERSION_PATCH 1 Python_PyPy_VERSION Python_NumPy_FOUND TRUE Python_NumPy_INCLUDE_DIRS /usr/lib64/python3.15/site-packages/numpy/_core/include Python_NumPy_VERSION 2.5.4 End Summary ################################################################################ -- Configuring done (2.3s) CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:973 (add_library): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTestsSwigAPI.cpp Call Stack (most recent call first): test/CMakeLists.txt:138 (swig_add_library) test/cxx_api_tests/CMakeLists.txt:38 (add_rr_test_swig_library) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [2/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [3/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [4/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:301:25: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 301 | catch (std::runtime_error) { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:66:24: warning: ‘std::string rr::strip(const std::string&)’ defined but not used [-Wunused-function] 66 | static std::string strip(const std::string& in) { | ^~~~~ [5/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [6/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [7/538] /usr/bin/g++ -DBUILD_LLVM -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o -MF test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.d -o test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/src/gmock-all.cc [8/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:133:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:161:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 161 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:172:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:183:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:279:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 279 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:84:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 84 | for(int chrNr = 0; chrNr < chars.size(); chrNr++) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:105:12: warning: unused variable ‘leftPos’ [-Wunused-variable] 105 | size_t leftPos = expression.find("(", startFrom); //First lef parenthesis | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | for(int i = 0; i < expression.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:904:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:907:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | if(i < vec.size() - 1) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [10/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:70:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for(int i = 0; i < extensions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:574:46: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 574 | if(!dest.size() || !source || startIndex > dest.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:590:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 590 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:605:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:692:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 692 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [11/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [12/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SundialsLogger.cpp [13/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.cpp [14/538] /usr/bin/g++ -DBUILD_LLVM -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/src/gtest-all.cc [15/538] : && /usr/bin/cmake -E rm -f lib/libgtest.a && /usr/bin/ar qc lib/libgtest.a test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o && /usr/bin/ranlib lib/libgtest.a && : [16/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:73:16: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable=] 73 | double tf = 0; | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [17/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:586:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 586 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:212:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 212 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [19/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:113:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | for (int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:240:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 240 | for (int i = 0; i < err_names.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [20/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:268:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 268 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:267:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 267 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:337:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 337 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:276:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 276 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:134:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 134 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:258:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 258 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:609:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 609 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:861:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 861 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:958:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 958 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [21/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [22/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:75:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 75 | if (keyNr < mKeys.size()) | ~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [23/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [24/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:55:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for(int i = 0; i < sel.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:168:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 168 | for(int row = 0; row < mTheData.RSize(); row++) | ~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:190:12: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | if(col < mColumnNames.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i = 0; i < mColumnNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:229:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if(i < mColumnNames.size() -1) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:329:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 329 | for(int i = 0; i < mTheData.RSize(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:332:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int j = 0; j < aLine.size(); j++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:521:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 521 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:525:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 525 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:549:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 549 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:553:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 553 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [25/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:58:29: warning: ‘rr::IniFile::mAutoSave’ will be initialized after [-Wreorder] 58 | bool mAutoSave; //Save ini file automatically on destruction | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [26/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [27/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [28/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [29/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:221:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 221 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [30/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:272:9: warning: when initialized here [-Wreorder] 272 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:289:9: warning: when initialized here [-Wreorder] 289 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:891:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 891 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:899:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 899 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:907:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1065:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1065 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1078:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1078 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1093:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1093 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1112 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1183:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1183 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1198:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1198 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1211:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1211 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1224:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1224 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1237:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1237 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1316:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1316 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1334:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1334 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1601:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1601 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2027:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2027 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2067:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2067 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2081:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2081 | for (int r = 0; r < lor->size(); r++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2089:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2089 | for (int r = 0; r < lorules->size(); r++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2137:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2137 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2182:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2182 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2216:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2216 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2241:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2241 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2388:28: warning: unused variable ‘itime’ [-Wunused-variable] 2388 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2556:24: warning: unused variable ‘ls’ [-Wunused-variable] 2556 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2577:24: warning: unused variable ‘ls’ [-Wunused-variable] 2577 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2644:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2644 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2660:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2660 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2676:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2676 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2692:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2692 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2778:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2778 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2814:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2814 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3354:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3354 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3359:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3359 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3351:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 3351 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3596:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3596 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3597:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3597 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3680:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3680 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3705:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3705 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3714:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3714 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3732:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3732 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3968:24: warning: unused variable ‘ls’ [-Wunused-variable] 3968 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3990:24: warning: unused variable ‘ls’ [-Wunused-variable] 3990 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4231:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 4231 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4544:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4544 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4713:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4713 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4714:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4714 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4837:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4837 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4838:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4838 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4861:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4861 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4892:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4892 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4900:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4900 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5006:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5006 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5021:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5021 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5036:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5036 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5042:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 5042 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5090:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5090 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5225:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5225 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5489:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5489 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5500:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5500 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5513:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5513 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::Matrix rr::RoadRunner::getFrequencyResponse(double, int, int, const std::string&, const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5577:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5577 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5604:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5604 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5628:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5628 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5643:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5643 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6306:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6306 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6360 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6374 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6388:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6388 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6411:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6411 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6453:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6453 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6471:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6471 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:184:36: warning: unused variable ‘self’ [-Wunused-variable] 184 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6424:9: note: in expansion of macro ‘get_self’ 6424 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6634:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6634 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::addReaction(const std::string&, std::vector >, std::vector >, const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6894:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6894 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7002:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7002 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7761:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7761 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7837:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7837 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7901:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7901 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7914:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7914 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7926:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7926 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7946:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7946 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7959:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7959 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7994:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7994 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8023:21: warning: unused variable ‘temp’ [-Wunused-variable] 8023 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8039:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8039 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8100:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8100 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8113:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8113 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6315:23: required from here 6315 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:29 = const std::__cxx11::basic_string&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs >() const::&; _Args = {const std::__cxx11::basic_string, std::allocator >&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs >() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = std::__cxx11::basic_string]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1035:37: required from here 1035 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4948:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4948 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3835:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3835 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [31/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [32/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.cpp [33/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.cpp [34/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:132:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | for (int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [35/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:168:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 168 | for (int i = 0; i < v->size(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:169:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | if (i == v->size() - 1) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:164:18: warning: unused variable ‘v’ [-Wunused-variable] 164 | if (auto v = get_if()) { | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [36/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.cpp [37/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [38/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [39/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [40/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:556:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 556 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:583:14: warning: unused variable ‘print’ [-Wunused-variable] 583 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:585:14: warning: unused variable ‘len’ [-Wunused-variable] 585 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:688:29: required from here 688 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:411:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 411 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:384:36: required from ‘void rr::Matrix3D::deleteCol(const std::string&) [with IndexType = double; DataType = double; std::string = std::__cxx11::basic_string]’ 384 | submatrix.deleteCol(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:714:38: required from here 714 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:358:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 358 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:351:17: note: ‘sensi_meth’ was declared here 351 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:377:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 377 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:370:17: note: ‘dq_method’ was declared here 370 | int dq_method; | ^~~~~~~~~ [41/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:30:13: warning: unused variable ‘stateVectorSize’ [-Wunused-variable] 30 | int stateVectorSize = mModel->getStateVector(nullptr); | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [42/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [43/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [44/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [45/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [46/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp:92:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 92 | for (int i=0; i(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:211:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 211 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:228:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 228 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [50/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationExtension.cpp [51/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationDocumentPlugin.cpp [52/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [53/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyPlugin.cpp [54/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [55/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:478:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 478 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:487:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 487 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createDependentSpeciesRules(Model*, const ls::DoubleMatrix&, const std::vector >&, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:623:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 623 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:819:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 819 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:859:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 859 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:865:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 865 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:892:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 892 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:898:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 898 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [56/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [57/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [58/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.cpp [59/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [60/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [61/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [62/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:720:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 720 | for (int rxn = 0; rxn < model->getNumReactions(); rxn++) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:970:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 970 | for (int i = 3; i < numKids; i++) { | ~~^~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [63/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [64/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 55 | for (int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [65/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [66/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [67/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventAssignCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [68/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_Tp>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [69/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventTriggerCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [70/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [71/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventTriggerCodeGen; FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventPriorityCodeGen; FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [72/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [73/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:47:64: required from ‘rrllvm::GetInitialValueCodeGenBase::GetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [74/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:48:57: required from ‘rrllvm::GetValueCodeGenBase::GetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 48 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [75/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [76/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:383:23: warning: ‘rrllvm::Jit::options’ will be initialized after [-Wreorder] 383 | std::uint32_t options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:382:44: warning: ‘rrllvm::Jit::builder’ will be initialized after [-Wreorder] 382 | std::unique_ptr> builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [77/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.cpp [78/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJitSectionMemory.cpp [79/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [80/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [81/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 96 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 123 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 131 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 140 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 198 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 256 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 334 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Symbol*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Symbol*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:752:18: required from here 752 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Block*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Block*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:753:17: required from here 753 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [82/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:130:1: warning: when initialized here [-Wreorder] 130 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:145:1: warning: when initialized here [-Wreorder] 145 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2055:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 2055 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:28: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::set&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2136:16: required from here 2136 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 374 | for (int i = 0; i < ssize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2137:16: required from here 2137 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2138:16: required from here 2138 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::unordered_map&) [with K = unsigned int; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2139:16: required from here 2139 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2140:16: required from here 2140 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = std::vector; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2141:16: required from here 2141 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2167:16: required from here 2167 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = rrllvm::LLVMModelDataSymbols::SpeciesReferenceType; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2169:16: required from here 2169 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = long unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2194:16: required from here 2194 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned char; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2195:16: required from here 2195 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [83/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:683:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 683 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:682:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 682 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:766:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 766 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:867:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 867 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1237:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1237 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1248:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1248 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1258:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1282:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1282 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1284:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1284 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1288:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1288 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1296:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1296 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1308:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1308 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1310:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1310 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1314:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1314 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1322:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1322 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1351:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1351 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1353:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1353 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1361:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1361 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1370:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1370 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1372:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1372 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1380:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1380 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1392:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1392 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1394:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1394 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1402:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1402 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1411:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1411 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1413:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1421:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1421 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1914:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1914 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2062:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2062 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2118:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2118 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2221:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2221 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2270:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2270 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2273:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2273 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In function ‘bool rrllvm::isMultiSpeciesReferenceCell(const LLVMModelDataSymbols*, int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:20: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:49: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2706:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2706 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2709:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2709 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = long long unsigned int; V = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:326:19: required from here 326 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [84/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:32:1: warning: when initialized here [-Wreorder] 32 | LLVMModelSymbols::LLVMModelSymbols(const ::Model *m, LLVMModelDataSymbols const &sym) : | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:218:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 218 | for (int i = 0; i < reactants->size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:253:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 253 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [85/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:149:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 149 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:150:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 150 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:402:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 402 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [86/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [87/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [88/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘llvm::Value* rrllvm::ModelDataIRBuilder::createGEP(rrllvm::ModelDataFields)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:128:108: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 128 | return builder.CreateStructGEP(cast(modelData->getType()->getScalarType())->getElementType(), modelData, (unsigned)field, Twine(fieldName) + Twine("_gep")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib64/llvm14/include/llvm/IR/Function.h:29, from /usr/lib64/llvm14/include/llvm/Transforms/InstCombine/InstCombine.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:38, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:8: /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘void rrllvm::ModelDataIRBuilder::validateStruct(llvm::Value*, const char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:618:59: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 618 | Type *type = pointerType ? pointerType->getElementType() : s->getType(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:793:1: warning: when initialized here [-Wreorder] 793 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:79:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 79 | static bool isArray(ModelDataFields f) | ^~~~~~~ [89/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [90/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [91/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:128:34: warning: enum constant in boolean context [-Wint-in-bool-context] 128 | rr::Config::ROADRUNNER_DISABLE_WARNINGS_CONSERVED_MOIETY) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:77:22: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ declared ‘static’ but never defined [-Wunused-function] 77 | static Function *createGlobalMappingFunction(const char *funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:460:26: warning: ‘SBMLDocument* rrllvm::checkedReadSBMLFromString(const char*)’ defined but not used [-Wunused-function] 460 | static SBMLDocument *checkedReadSBMLFromString(const char *xml) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [92/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:98:11: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ defined but not used [-Wunused-function] 98 | Function* createGlobalMappingFunction(const char* funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [93/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:100:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 100 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:99:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 99 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [94/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:24:68: required from here 24 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [95/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [96/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [97/538] : && /usr/bin/cmake -E rm -f lib/libgmock.a && /usr/bin/ar qc lib/libgmock.a test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o && /usr/bin/ranlib lib/libgmock.a && : [98/538] /usr/bin/g++ -DBUILD_LLVM -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -MF test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o.d -o test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/src/gmock_main.cc [99/538] /usr/bin/g++ -DBUILD_LLVM -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -MF test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o.d -o test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/src/gtest_main.cc [100/538] : && /usr/bin/cmake -E rm -f lib/libgmock_main.a && /usr/bin/ar qc lib/libgmock_main.a test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o && /usr/bin/ranlib lib/libgmock_main.a && : [101/538] : && /usr/bin/cmake -E rm -f lib/libgtest_main.a && /usr/bin/ar qc lib/libgtest_main.a test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o && /usr/bin/ranlib lib/libgtest_main.a && : [102/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.cpp [103/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:73:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 73 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:85:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 85 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:109:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < mStrings.size(); i++) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:112:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 112 | if (i < mStrings.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:140:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 140 | for (int i = 0; i < Count(); i++) | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:160:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 160 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:222:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 222 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:225:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 225 | if (i < list.Count() - 1) | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [104/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [105/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [106/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:60:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:102:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 102 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 112 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ [107/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:45:64: required from ‘rrllvm::SetInitialValueCodeGenBase::SetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 45 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [108/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:47:57: required from ‘rrllvm::SetValueCodeGenBase::SetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [109/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [110/538] : && /usr/bin/cmake -E rm -f lib/libroadrunner-static.a && /usr/bin/ar qc lib/libroadrunner-static.a source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/KinsolSteadyStateSolver.cpp.o source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/KinsolErrHandler.cpp.o source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o && /usr/bin/ranlib lib/libroadrunner-static.a && : [111/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [112/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:56:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 56 | for (int i = 0; i < vals.size(); i++) | ~~^~~~~~~~~~~~~ [113/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:85:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 85 | for(u_int row = 0; row < mat->RSize; row++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:87:32: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 87 | for(u_int col = 0; col < mat->CSize; col++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:140:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | for(int i = 0; i < aVec.size(); i++) | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:267:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 267 | for(int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [114/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.1 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -c++ -interface _TestModelFactory -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.i [115/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [116/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.1 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests -c++ -interface _SettingTestsSwigAPI -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTestsSwigAPI.i [117/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.1 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig -c++ -interface _picklable_swig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig/picklable_swig.i [118/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.1 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -threads -doxygen -keyword -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner -c++ -interface _roadrunner -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:273: Warning 127: %typedef directive is deprecated, use plain typedef instead /usr/share/swig/4.5.1/python/pyiterators.swg:449: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(ptrdiff_t) const). /usr/share/swig/4.5.1/python/pyiterators.swg:450: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(swig::SwigPyIterator const &) const). /usr/share/swig/4.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.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.11.0-build/roadrunner-2.11.0/source/Dictionary.h:145: Warning 476: Initialization using std::initializer_list. /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:145: Warning 511: Can't use keyword arguments with overloaded functions (rr::BasicDictionary::BasicDictionary(std::initializer_list< rr::BasicDictionary::item >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:197: Warning 511: Can't use keyword arguments with overloaded functions (rr::LoadSBMLOptions::LoadSBMLOptions(rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:206: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:356: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesAmounts(size_t,int const *,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:368: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesAmounts(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:467: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:537: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:629: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setStoichiometry(int,double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:638: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setStoichiometry(int,int,double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:645: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:652: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int,int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:659: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getInitStoichiometry(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:666: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getInitStoichiometry(int,int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:743: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:749: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:931: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEventIds(std::list< std::string,std::allocator< std::string > > &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:963: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::reset(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2465: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2475: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrationRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2485: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2495: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2505: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2514: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getGlobalParameterValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2524: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getCompartmentVolumes(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2534: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getConservedMoietyValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2544: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getReactionRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2647: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2651: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2655: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2659: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2663: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2667: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setConservedMoietyValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2671: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2675: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2679: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentInitVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2690: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2701: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2711: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2721: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2731: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2741: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setConservedMoietyValues(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2751: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2762: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitAmounts(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2773: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentInitVolumes(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2845: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2866: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:1052: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:34: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModelFactory::createModel(::SBMLDocument const *,std::string const &,rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:43: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModelFactory::createModel(std::istream &,uint)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:67: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(unsigned int,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:80: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(std::string const &,rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:98: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(rr::RoadRunner const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:520: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::reset(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:571: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:980: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getuEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:987: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getuEE(std::string const &,std::string const &,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:992: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:999: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getEE(std::string const &,std::string const &,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:1186: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(rr::SelectionRecord const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:51: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::RoadRunnerMap(std::vector< std::string,std::allocator< std::string > > const &,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:101: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:112: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:123: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::vector< std::string,std::allocator< std::string > > const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:199: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::at(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:201: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::at(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:427: Warning 511: Can't use keyword arguments with overloaded functions (rr::SelectionRecord::SelectionRecord(int const &,rr::SelectionRecord::SelectionType const,std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:432: Warning 511: Can't use keyword arguments with overloaded functions (rr::SelectionRecord::SelectionRecord(std::string const)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:447: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::SelectionRecord const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:164: Warning 511: Can't use keyword arguments with overloaded functions (rr::Solver::getHint(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:170: Warning 511: Can't use keyword arguments with overloaded functions (rr::Solver::getDescription(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:167: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:171: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.h:63: Warning 511: Can't use keyword arguments with overloaded functions (rr::validateSBML(std::string const,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.h:66: Warning 511: Can't use keyword arguments with overloaded functions (rr::validateSBML(::SBMLDocument *,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:77: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setFScale(double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:83: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setFScale(std::vector< double,std::allocator< double > > const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:88: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setUScale(double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:94: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setUScale(std::vector< double,std::allocator< double > >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:27: Warning 511: Can't use keyword arguments with overloaded functions (rr::BasicNewtonIteration::BasicNewtonIteration(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:29: Warning 511: Can't use keyword arguments with overloaded functions (rr::LinesearchNewtonIteration::LinesearchNewtonIteration(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:39: Warning 511: Can't use keyword arguments with overloaded functions (rr::ForwardSensitivitySolver::ForwardSensitivitySolver(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:41: Warning 511: Can't use keyword arguments with overloaded functions (rr::ForwardSensitivitySolver::ForwardSensitivitySolver(rr::ExecutableModel *,std::vector< std::string,std::allocator< std::string > >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:58: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:229: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(int) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:235: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(size_t) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:235: Warning 509: Overloaded method rr::CVODEIntegrator::ToString(size_t) const effectively ignored, /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:229: Warning 509: as it is shadowed by rr::CVODEIntegrator::ToString(int) const. /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:40: Warning 511: Can't use keyword arguments with overloaded functions (rr::GillespieIntegrator::GillespieIntegrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:44: Warning 511: Can't use keyword arguments with overloaded functions (rr::RK4Integrator::RK4Integrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.h:41: Warning 511: Can't use keyword arguments with overloaded functions (rr::RK45Integrator::RK45Integrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:74: Warning 511: Can't use keyword arguments with overloaded functions (rr::EulerIntegrator::EulerIntegrator(rr::ExecutableModel *)). [119/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrException.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrException.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrException.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [120/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [121/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [122/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [123/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [124/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:301:25: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 301 | catch (std::runtime_error) { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:66:24: warning: ‘std::string rr::strip(const std::string&)’ defined but not used [-Wunused-function] 66 | static std::string strip(const std::string& in) { | ^~~~~ [125/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:84:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 84 | for(int chrNr = 0; chrNr < chars.size(); chrNr++) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:105:12: warning: unused variable ‘leftPos’ [-Wunused-variable] 105 | size_t leftPos = expression.find("(", startFrom); //First lef parenthesis | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | for(int i = 0; i < expression.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:904:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:907:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | if(i < vec.size() - 1) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [126/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:133:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:161:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 161 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:172:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:183:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:279:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 279 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [127/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:70:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for(int i = 0; i < extensions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:574:46: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 574 | if(!dest.size() || !source || startIndex > dest.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:590:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 590 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:605:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:692:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 692 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [128/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [129/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o -MF source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SundialsLogger.cpp [130/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:68: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:647:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 647 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1463:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1463 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1512:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1512 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2511:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2956:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2956 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2964:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2964 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2969:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2969 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2974:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2974 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3089:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3089 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3097:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3097 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3102:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3102 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3107 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3167:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3167 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3180:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3180 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3197:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3197 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3204:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3204 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3209:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3209 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3214:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3214 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3235 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3242:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3242 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3247 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3252:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3252 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3274:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3274 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3281:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3281 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3286:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3286 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3291:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3291 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3296:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3296 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3318 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3325:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3325 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3331:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3331 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3337:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3337 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3343:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3343 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3371:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3371 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3385:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3385 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3411:26: warning: unused variable ‘o’ [-Wunused-variable] 3411 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3432:26: warning: unused variable ‘o’ [-Wunused-variable] 3432 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3496 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3586:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3586 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:57: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:49: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3175:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3175 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3162:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3162 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [131/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o -MF source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.cpp [132/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:73:16: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable=] 73 | double tf = 0; | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [133/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:586:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 586 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [134/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:212:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 212 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [135/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:113:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | for (int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:240:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 240 | for (int i = 0; i < err_names.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [136/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [137/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:268:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 268 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:267:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 267 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:337:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 337 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:276:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 276 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:134:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 134 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:258:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 258 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:609:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 609 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:861:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 861 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:958:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 958 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [138/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:75:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 75 | if (keyNr < mKeys.size()) | ~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [139/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [140/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:58:29: warning: ‘rr::IniFile::mAutoSave’ will be initialized after [-Wreorder] 58 | bool mAutoSave; //Save ini file automatically on destruction | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [141/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:55:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for(int i = 0; i < sel.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:168:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 168 | for(int row = 0; row < mTheData.RSize(); row++) | ~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:190:12: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | if(col < mColumnNames.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i = 0; i < mColumnNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:229:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if(i < mColumnNames.size() -1) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:329:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 329 | for(int i = 0; i < mTheData.RSize(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:332:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int j = 0; j < aLine.size(); j++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:521:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 521 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:525:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 525 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:549:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 549 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:553:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 553 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [142/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [143/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [144/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [145/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [146/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:221:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 221 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [147/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:272:9: warning: when initialized here [-Wreorder] 272 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:289:9: warning: when initialized here [-Wreorder] 289 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:891:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 891 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:899:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 899 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:907:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1065:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1065 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1078:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1078 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1093:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1093 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1112 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1183:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1183 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1198:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1198 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1211:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1211 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1224:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1224 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1237:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1237 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1316:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1316 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1334:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1334 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1601:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1601 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2027:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2027 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2067:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2067 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2081:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2081 | for (int r = 0; r < lor->size(); r++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2089:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2089 | for (int r = 0; r < lorules->size(); r++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2137:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2137 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2182:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2182 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2216:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2216 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2241:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2241 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2388:28: warning: unused variable ‘itime’ [-Wunused-variable] 2388 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2556:24: warning: unused variable ‘ls’ [-Wunused-variable] 2556 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2577:24: warning: unused variable ‘ls’ [-Wunused-variable] 2577 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2644:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2644 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2660:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2660 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2676:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2676 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2692:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2692 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2778:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2778 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2814:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2814 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3354:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3354 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3359:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3359 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3351:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 3351 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3596:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3596 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3597:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3597 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3680:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3680 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3705:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3705 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3714:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3714 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3732:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3732 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3968:24: warning: unused variable ‘ls’ [-Wunused-variable] 3968 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3990:24: warning: unused variable ‘ls’ [-Wunused-variable] 3990 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4231:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 4231 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4544:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4544 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4713:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4713 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4714:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4714 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4837:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4837 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4838:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4838 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4861:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4861 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4892:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4892 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4900:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4900 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5006:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5006 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5021:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5021 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5036:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5036 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5042:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 5042 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5090:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5090 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5225:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5225 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5489:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5489 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5500:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5500 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5513:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5513 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::Matrix rr::RoadRunner::getFrequencyResponse(double, int, int, const std::string&, const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5577:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5577 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5604:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5604 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5628:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5628 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5643:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5643 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6306:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6306 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6360 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6374 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6388:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6388 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6411:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6411 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6453:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6453 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6471:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6471 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:184:36: warning: unused variable ‘self’ [-Wunused-variable] 184 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6424:9: note: in expansion of macro ‘get_self’ 6424 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6634:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6634 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::addReaction(const std::string&, std::vector >, std::vector >, const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6894:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6894 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7002:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7002 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7761:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7761 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7837:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7837 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7901:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7901 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7914:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7914 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7926:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7926 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7946:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7946 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7959:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7959 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7994:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7994 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8023:21: warning: unused variable ‘temp’ [-Wunused-variable] 8023 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8039:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8039 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8100:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8100 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8113:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8113 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6315:23: required from here 6315 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:29 = const std::__cxx11::basic_string&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs >() const::&; _Args = {const std::__cxx11::basic_string, std::allocator >&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs >() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = std::__cxx11::basic_string]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1035:37: required from here 1035 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4948:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4948 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3835:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3835 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [148/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o -MF source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.cpp [149/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Solver.cpp.o -MF source/CMakeFiles/roadrunner.dir/Solver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Solver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.cpp [150/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Setting.cpp.o -MF source/CMakeFiles/roadrunner.dir/Setting.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Setting.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:168:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 168 | for (int i = 0; i < v->size(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:169:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | if (i == v->size() - 1) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:164:18: warning: unused variable ‘v’ [-Wunused-variable] 164 | if (auto v = get_if()) { | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [151/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:132:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | for (int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [152/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.cpp [153/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [154/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [155/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [156/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:556:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 556 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:583:14: warning: unused variable ‘print’ [-Wunused-variable] 583 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:585:14: warning: unused variable ‘len’ [-Wunused-variable] 585 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:688:29: required from here 688 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:411:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 411 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:384:36: required from ‘void rr::Matrix3D::deleteCol(const std::string&) [with IndexType = double; DataType = double; std::string = std::__cxx11::basic_string]’ 384 | submatrix.deleteCol(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:714:38: required from here 714 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:358:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 358 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:351:17: note: ‘sensi_meth’ was declared here 351 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:377:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 377 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:370:17: note: ‘dq_method’ was declared here 370 | int dq_method; | ^~~~~~~~~ [157/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:30:13: warning: unused variable ‘stateVectorSize’ [-Wunused-variable] 30 | int stateVectorSize = mModel->getStateVector(nullptr); | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [158/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [159/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [160/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [161/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [162/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SVD.cpp.o -MF source/CMakeFiles/roadrunner.dir/SVD.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SVD.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp:92:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 92 | for (int i=0; i(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:211:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 211 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:228:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 228 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [166/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationExtension.cpp [167/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationDocumentPlugin.cpp [168/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [169/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyPlugin.cpp [170/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [171/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:478:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 478 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:487:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 487 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createDependentSpeciesRules(Model*, const ls::DoubleMatrix&, const std::vector >&, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:623:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 623 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:819:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 819 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:859:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 859 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:865:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 865 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:892:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 892 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:898:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 898 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [172/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [173/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [174/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.cpp [175/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [176/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [177/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [178/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:720:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 720 | for (int rxn = 0; rxn < model->getNumReactions(); rxn++) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:970:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 970 | for (int i = 3; i < numKids; i++) { | ~~^~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [179/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [180/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 55 | for (int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [181/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [182/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [183/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventAssignCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [184/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_Tp>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [185/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventTriggerCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [186/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [187/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventTriggerCodeGen; FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventPriorityCodeGen; FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [188/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:47:64: required from ‘rrllvm::GetInitialValueCodeGenBase::GetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [189/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [190/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:48:57: required from ‘rrllvm::GetValueCodeGenBase::GetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 48 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [191/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [192/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:383:23: warning: ‘rrllvm::Jit::options’ will be initialized after [-Wreorder] 383 | std::uint32_t options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:382:44: warning: ‘rrllvm::Jit::builder’ will be initialized after [-Wreorder] 382 | std::unique_ptr> builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [193/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.cpp [194/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJitSectionMemory.cpp [195/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [196/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [197/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 96 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 123 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 131 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 140 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 198 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 256 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 334 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Symbol*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Symbol*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:752:18: required from here 752 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Block*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Block*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:753:17: required from here 753 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [198/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:130:1: warning: when initialized here [-Wreorder] 130 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:145:1: warning: when initialized here [-Wreorder] 145 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2055:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 2055 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:28: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::set&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2136:16: required from here 2136 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 374 | for (int i = 0; i < ssize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2137:16: required from here 2137 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2138:16: required from here 2138 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::unordered_map&) [with K = unsigned int; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2139:16: required from here 2139 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2140:16: required from here 2140 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = std::vector; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2141:16: required from here 2141 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2167:16: required from here 2167 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = rrllvm::LLVMModelDataSymbols::SpeciesReferenceType; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2169:16: required from here 2169 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = long unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2194:16: required from here 2194 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned char; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2195:16: required from here 2195 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [199/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:683:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 683 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:682:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 682 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:766:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 766 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:867:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 867 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1237:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1237 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1248:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1248 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1258:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1282:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1282 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1284:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1284 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1288:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1288 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1296:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1296 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1308:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1308 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1310:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1310 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1314:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1314 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1322:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1322 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1351:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1351 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1353:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1353 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1361:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1361 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1370:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1370 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1372:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1372 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1380:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1380 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1392:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1392 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1394:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1394 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1402:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1402 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1411:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1411 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1413:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1421:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1421 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1914:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1914 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2062:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2062 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2118:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2118 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2221:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2221 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2270:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2270 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2273:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2273 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In function ‘bool rrllvm::isMultiSpeciesReferenceCell(const LLVMModelDataSymbols*, int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:20: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:49: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2706:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2706 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2709:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2709 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = long long unsigned int; V = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:326:19: required from here 326 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [200/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:32:1: warning: when initialized here [-Wreorder] 32 | LLVMModelSymbols::LLVMModelSymbols(const ::Model *m, LLVMModelDataSymbols const &sym) : | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:218:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 218 | for (int i = 0; i < reactants->size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:253:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 253 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [201/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:149:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 149 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:150:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 150 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:402:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 402 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [202/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [203/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [204/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘llvm::Value* rrllvm::ModelDataIRBuilder::createGEP(rrllvm::ModelDataFields)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:128:108: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 128 | return builder.CreateStructGEP(cast(modelData->getType()->getScalarType())->getElementType(), modelData, (unsigned)field, Twine(fieldName) + Twine("_gep")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib64/llvm14/include/llvm/IR/Function.h:29, from /usr/lib64/llvm14/include/llvm/Transforms/InstCombine/InstCombine.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:38, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:8: /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘void rrllvm::ModelDataIRBuilder::validateStruct(llvm::Value*, const char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:618:59: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 618 | Type *type = pointerType ? pointerType->getElementType() : s->getType(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:793:1: warning: when initialized here [-Wreorder] 793 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:79:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 79 | static bool isArray(ModelDataFields f) | ^~~~~~~ [205/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [206/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [207/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:128:34: warning: enum constant in boolean context [-Wint-in-bool-context] 128 | rr::Config::ROADRUNNER_DISABLE_WARNINGS_CONSERVED_MOIETY) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:77:22: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ declared ‘static’ but never defined [-Wunused-function] 77 | static Function *createGlobalMappingFunction(const char *funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:460:26: warning: ‘SBMLDocument* rrllvm::checkedReadSBMLFromString(const char*)’ defined but not used [-Wunused-function] 460 | static SBMLDocument *checkedReadSBMLFromString(const char *xml) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [208/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:98:11: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ defined but not used [-Wunused-function] 98 | Function* createGlobalMappingFunction(const char* funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [209/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:24:68: required from here 24 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [210/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:100:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 100 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:99:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 99 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [211/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [212/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [213/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.cpp [214/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:47:57: required from ‘rrllvm::SetValueCodeGenBase::SetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [215/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:73:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 73 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:85:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 85 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:109:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < mStrings.size(); i++) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:112:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 112 | if (i < mStrings.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:140:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 140 | for (int i = 0; i < Count(); i++) | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:160:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 160 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:222:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 222 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:225:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 225 | if (i < list.Count() - 1) | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [216/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:45:64: required from ‘rrllvm::SetInitialValueCodeGenBase::SetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 45 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [217/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [218/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:60:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:102:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 102 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 112 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ [219/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [220/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [221/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [222/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:56:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 56 | for (int i = 0; i < vals.size(); i++) | ~~^~~~~~~~~~~~~ [223/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [224/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:85:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 85 | for(u_int row = 0; row < mat->RSize; row++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:87:32: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 87 | for(u_int col = 0; col < mat->CSize; col++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:140:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | for(int i = 0; i < aVec.size(); i++) | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:267:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 267 | for(int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [225/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:60: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:180:19: warning: unused variable ‘result’ [-Wunused-variable] 180 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:349:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 349 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:424:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 424 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:664:30: warning: unused variable ‘rows’ [-Wunused-variable] 664 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1770:24: warning: unused variable ‘arr’ [-Wunused-variable] 1770 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [226/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyLoggerStream.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyLoggerStream.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ [227/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=wrappers/C/CMakeFiles/roadrunner_c_api.dir/link.d -Wl,-soname,libroadrunner_c_api.so -o lib/libroadrunner_c_api.so wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -Wl,-rpath,/usr/lib64/llvm14/lib::: lib/libroadrunner-static.a -lpthread -ldl -lm /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_core.a /usr/lib64/libsundials_nvecserial.a /usr/lib64/libsundials_nvecmanyvector.a /usr/lib64/libsundials_sunmatrixband.a /usr/lib64/libsundials_sunmatrixdense.a /usr/lib64/libsundials_sunmatrixsparse.a /usr/lib64/libsundials_sunlinsolband.a /usr/lib64/libsundials_sunlinsoldense.a /usr/lib64/libsundials_sunlinsolpcg.a /usr/lib64/libsundials_sunlinsolspbcgs.a /usr/lib64/libsundials_sunlinsolspfgmr.a /usr/lib64/libsundials_sunlinsolspgmr.a /usr/lib64/libsundials_sunlinsolsptfqmr.a /usr/lib64/libsundials_sunnonlinsolnewton.a /usr/lib64/libsundials_sunnonlinsolfixedpoint.a /usr/lib64/libsundials_cvodes.a /usr/lib64/libsundials_kinsol.a /usr/lib64/libPocoNet.so.111 /usr/lib64/libPocoXML.so.111 /usr/lib64/libexpat.so.1.13.0 /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.13.0 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [228/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:68: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:647:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 647 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1463:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1463 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1512:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1512 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2511:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2956:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2956 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2964:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2964 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2969:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2969 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2974:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2974 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3089:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3089 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3097:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3097 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3102:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3102 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3107 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3167:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3167 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3180:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3180 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3197:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3197 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3204:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3204 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3209:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3209 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3214:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3214 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3235 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3242:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3242 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3247 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3252:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3252 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3274:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3274 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3281:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3281 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3286:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3286 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3291:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3291 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3296:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3296 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3318 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3325:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3325 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3331:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3331 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3337:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3337 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3343:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3343 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3371:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3371 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3385:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3385 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3411:26: warning: unused variable ‘o’ [-Wunused-variable] 3411 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3432:26: warning: unused variable ‘o’ [-Wunused-variable] 3432 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3496 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3586:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3586 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:57: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:49: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3175:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3175 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3162:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3162 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [229/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o -MF test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o.d -o test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:3408: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_EigenResult_fullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:6828:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6828 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_EigenResult_reducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:6909:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6909 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SimpleFlux_fullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:8029:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8029 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SimpleFlux_reducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:8110:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8110 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testStdComplexZeroImagPart(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12207:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 12207 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testStdComplexNonZeroImagPart(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12278:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 12278 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testDoubleVectorTo1DNumpyArray(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12303:20: warning: unused variable ‘desc’ [-Wunused-variable] 12303 | PyArray_Descr *desc = PyArray_DescrFromType(NPY_DOUBLE); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ [230/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o -MF test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o.d -o test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [231/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o -MF test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o.d -o test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:60: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:180:19: warning: unused variable ‘result’ [-Wunused-variable] 180 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:349:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 349 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:424:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 424 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:664:30: warning: unused variable ‘rows’ [-Wunused-variable] 664 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1770:24: warning: unused variable ‘arr’ [-Wunused-variable] 1770 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [232/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [233/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘STS::STS() [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:109:27: required from here 109 | STS sts; | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:115:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 115 | for (int i = 1; i < SemanticOrStochastic::maxNum(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘std::vector > STS::getModelsFromSTSAsStrings(int, int) [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:129:68: required from here 129 | std::vector models = sts.getModelsFromSTSAsStrings(1, 10); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:183:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ [234/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [235/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:3, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:42:33: warning: ‘virtual bool rr::TestSuiteModelSimulation::LoadSettings(const std::filesystem::__cxx11::path&)’ was hidden [-Woverloaded-virtual=] 42 | bool LoadSettings(const std::filesystem::path& fName = "") override; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:23:10: note: by ‘bool SBMLTestSuiteSimulation_CAPI::LoadSettings(const std::string&)’ 23 | bool LoadSettings(const string& fName = ""); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [236/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [237/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [238/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [239/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [240/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/exceptions.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/exceptions.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [241/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getLinkMatrix_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:63:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 63 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:63:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 63 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getEigenValuesMatrix_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:89:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 89 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:89:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 89 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getEigenValuesVector_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:114:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 114 | if (actual->Count != ref.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [242/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [243/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp: In member function ‘virtual void CAPICoreTest_CheckRK4WorksFromC_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:269:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 269 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp: In member function ‘virtual void CAPICoreTest_CheckRatesOfChangeFunctions_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:571:10: warning: unused variable ‘ret’ [-Wunused-variable] 571 | bool ret = setComputeAndAssignConservationLaws(rrH, true); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [244/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/SimulateOptionsCAPITests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/SimulateOptionsCAPITests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [245/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMModelDataSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMModelDataSymbolsTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ [246/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:3, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:42:33: warning: ‘virtual bool rr::TestSuiteModelSimulation::LoadSettings(const std::filesystem::__cxx11::path&)’ was hidden [-Woverloaded-virtual=] 42 | bool LoadSettings(const std::filesystem::path& fName = "") override; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:23:10: note: by ‘bool SBMLTestSuiteSimulation_CAPI::LoadSettings(const std::string&)’ 23 | bool LoadSettings(const string& fName = ""); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp: In member function ‘bool CAPIModelEditingTests::validateModifiedSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 37 | for (int i = 0; i < doc->getNumErrors(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:47:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 47 | for (int i = 0; i < doc->getNumErrors(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp: In member function ‘bool CAPIModelEditingTests::RunTestModelFromScratch(void (*)(rrc::RRHandle), std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:177:13: warning: unused variable ‘level’ [-Wunused-variable] 177 | int level = version.at(1) - '0'; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:178:13: warning: unused variable ‘versionNum’ [-Wunused-variable] 178 | int versionNum = version.at(3) - '0'; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [247/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx In file included from /usr/include/python3.15/pyconfig.h:6, from /usr/include/python3.15/Python.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:208: /usr/include/python3.15/pyconfig-64.h:2137:9: warning: ‘_XOPEN_SOURCE’ redefined 2137 | #define _XOPEN_SOURCE 800 | ^~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4013: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:3982: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:3984: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4027: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4029: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘std::string strvec_to_pystring(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5939:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5939 | for (int i = 0; i < strvec.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5941:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5941 | if (i + 1 < strvec.size()) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_delete_SimulateOptions(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:14247:7: warning: deleting object of polymorphic class type ‘rr::SimulateOptions’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 14247 | delete arg1; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunner_getFullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27420:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27420 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunner_getReducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27479:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27479 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunnerMap_values(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:33771:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33771 | for (int i=0; i, rr::RoadRunner*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33815 | for (int i=0; i::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5935:20: warning: ‘std::string strvec_to_pystring(const std::vector >&)’ defined but not used [-Wunused-function] 5935 | static std::string strvec_to_pystring(const std::vector& strvec) { | ^~~~~~~~~~~~~~~~~~ [248/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [249/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [250/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [251/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [252/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [253/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [254/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h: In member function ‘void MapFunctionsToJitSymbolsTests::Check_rr_csr_matrix_get_nz()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h:345:16: warning: unused variable ‘expected’ [-Wunused-variable] 345 | double expected = 3; | ^~~~~~~~ [255/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [256/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp [257/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [258/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h: In member function ‘void MapFunctionsToJitSymbolsTests::Check_rr_csr_matrix_get_nz()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h:345:16: warning: unused variable ‘expected’ [-Wunused-variable] 345 | double expected = 3; | ^~~~~~~~ [259/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [260/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [261/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [262/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [263/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [264/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitSectionRange.cpp [265/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/JitFactoryTests.cpp [266/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [267/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [268/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [269/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [270/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [271/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [272/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/NomTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/NomTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [273/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [274/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [275/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/OtherRRTestFileTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/OtherRRTestFileTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [276/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [277/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [278/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [279/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareJacobians(rrc::RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:301:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 301 | for (int row = 0; row < jFull.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:302:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 302 | for (int col = 0; col < jFull.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareMatricesIgnoreLabels(const ls::DoubleMatrix&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:325:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 325 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:326:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 326 | for (int j = 0; j < ref.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:327:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 327 | if (abs(ref(i, j) - calc(i, j)) > abs((ref(i, j) + 1e-7) * 1e-4)) | ^~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-message.h:57, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-assertion-result.h:46, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:63, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:330:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 330 | EXPECT_NEAR(ref(i, j), calc(i, j), abs((ref(i, j) + 1e-7) * 1e-4)); | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareLabelledMatrices(const ls::DoubleMatrix&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:419:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 419 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:420:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 420 | for (int j = 0; j < ref.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareMatrices(const ls::DoubleMatrix&, std::vector, std::allocator > >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:453:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 453 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘int CApiRRTests::findCloseTimepoint(const ls::DoubleMatrix*, double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:469:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 469 | for (int i = 0; i < m->RSize(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_STEADY_STATE_SELECTION_LIST(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:546:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 546 | if (selList.size() != list->Count) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:551:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 551 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:563:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 563 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_SPECIES_INITIAL_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:582:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 582 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_SPECIES_INITIAL_CONCENTRATION_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:603:21: warning: unused variable ‘aKey’ [-Wunused-variable] 603 | IniKey *aKey = aSection->GetKey(i); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_INITIAL_FLOATING_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:624:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 624 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:630:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 630 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SET_SPECIES_INITIAL_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:668:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 668 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_STEADY_STATE_FLUXES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:698:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 698 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_INDIVIDUAL_EIGENVALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:764:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 764 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_INDIVIDUAL_AMOUNT_EIGENVALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:783:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 783 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_RK4_OUTPUT(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1112 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_RK45_OUTPUT(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1137:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1137 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-printers.h:122, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-matchers.h:49, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h:47, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-death-test.h:43, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:64: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_FLOATING_SPECIES_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1164:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1164 | ASSERT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1166:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1166 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_BOUNDARY_SPECIES_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1187:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1187 | EXPECT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1189:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1189 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GLOBAL_PARAMETER_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1210:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1210 | EXPECT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1212 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_COMPARTMENT_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1232:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1232 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1233:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1233 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_REACTION_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1249:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1249 | ASSERT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1251:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1251 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SPECIES_INITIAL_CONDITION_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1268:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1268 | ASSERT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1269:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1269 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_EIGENVALUE_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1285:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1285 | ASSERT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1286:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1286 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1302:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1302 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1303:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1303 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_STEADY_STATE_SELECTION_LIST_2(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1332:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1332 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1333:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1333 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_TIME_COURSE_SELECTION_LIST(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1359:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1359 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1360 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_COMPUTE_STEADY_STATE_VALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1374 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_FLOATING_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1391:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1391 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_BOUNDARY_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1408:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1408 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_GLOBAL_PARAMETER_VALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1427:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1427 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1433:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1433 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1453:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1453 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1459:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1459 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATE_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1477:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1477 | if (refList.size() != getNumberOfReactions(gRR)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1482:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1482 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1535:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1535 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1541:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1541 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATES_EX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1571:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1571 | for (int i = 0; i < concList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1578:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1578 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1585:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1585 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_EX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1616:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1616 | for (int i = 0; i < concList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1623:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1623 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1630:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1630 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1648:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1648 | if (refList.size() != getNumberOfFloatingSpecies(gRR)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1653:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1653 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_DEFAULT_TIME_STEP(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1692:29: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1692 | if (result->RSize() != NumPts) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_MONOTONIC_TIMEPOINTS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1720:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1720 | for (int k = 1; k < result->RSize(); ++k) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1730:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1730 | for (int k = 1; k < result->RSize(); ++k) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_EVENT_PRE_AND_POSTFIRE_TIMEPOINTS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1756:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1756 | if (i < 0 || i + 1 >= result->RSize()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_UNUSED_TESTS()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1791:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1791 | for (int i = 0; i < iniFile.GetNumberOfSections(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [280/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [281/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [282/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [283/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [284/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [285/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [286/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [287/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [288/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [289/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [290/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [291/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllReactions(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:406:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 406 | for (int i = 0; i < reactionsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllSpecies(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:425:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 425 | for (int i = 0; i < speciesToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllEvents(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:439:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 439 | for (int i = 0; i < eventsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:450:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 450 | for (int j = 0; j < nextAssignments->size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::removeAndReaddAllCompartments(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:496:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 496 | for (int i = 0; i < compartmentsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In member function ‘virtual void ModelEditingTests_CHECK_REGENERATE_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:1648:13: warning: unused variable ‘n’ [-Wunused-variable] 1648 | int n = rri.getNumberOfFloatingSpecies(); | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In member function ‘ModelEditingTests::RunTestWithEdit(std::__cxx11::basic_string, std::allocator > const&, int, void (*)(rr::RoadRunner*, SBMLDocument*), std::__cxx11::basic_string, std::allocator >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:394:9: warning: ‘doc’ may be used uninitialized [-Wmaybe-uninitialized] 394 | delete doc; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:283:21: note: ‘doc’ was declared here 283 | ::SBMLDocument *doc; | ^~~ [292/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-printers.h:122, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-matchers.h:49, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h:47, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-death-test.h:43, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:64, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_getConcentrationRateFail_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:505:16: warning: unused variable ‘S1_conc_rate’ [-Wunused-variable] 505 | double S1_conc_rate = rr.getValue("[S1]'"), | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_CVODE_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1056:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1056 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_RK4_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1086:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1086 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_RK45_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1117 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_Gillespie_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1149 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_SimulateAccordingToDocs_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1994:29: warning: unused variable ‘result’ [-Wunused-variable] 1994 | const ls::DoubleMatrix* result = rr.simulate(&opt); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_ResetAfterControlCalc_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2034:12: warning: unused variable ‘val’ [-Wunused-variable] 2034 | double val = rr.getValue("ucc(J0, Vm)"); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [293/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [294/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:33:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 33 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_ar_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:41:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 41 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_ar_const_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:49:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 49 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:57:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 57 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_set_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:68:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_set_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:87:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 87 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:108:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 108 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_full_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:130:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 130 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_full_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:150:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 150 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [295/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [296/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp: In member function ‘virtual void SBMLFeatures_named_stoich_set_and_reset_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:270:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 270 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [297/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/test_util.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [298/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [299/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [300/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [301/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [302/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/test_util.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [303/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [304/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [305/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/CvodeIntegrationTest.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/CvodeIntegrationTest.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/CvodeIntegrationTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:76:42: required from here 76 | bool passed = result.almostEquals(trueValues, 1e-4); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [306/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [307/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [308/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [309/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [310/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [311/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/ApproxSteadyStateDecoratorTests.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/ApproxSteadyStateDecoratorTests.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/ApproxSteadyStateDecoratorTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/ApproxSteadyStateDecoratorTests.cpp:115:5: required from here 115 | ASSERT_EQ(12.67, (double)basicNewtonIteration->getValue("approx_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [312/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ [314/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [315/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [316/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [317/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [318/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [319/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [321/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [322/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [323/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [324/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [325/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsNewtonIterationUnitTests.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsNewtonIterationUnitTests.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsNewtonIterationUnitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:36:5: required from here 36 | ASSERT_EQ((int) solver.getValue("eta_param_gamma"), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:82:13: required from here 82 | EXPECT_NEAR((double) settingValue, solver.getValue(settingName), 0.001); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIterationUnitTests.cpp:84:13: required from here 84 | EXPECT_TRUE((bool) settingValue == (bool) solver.getValue(settingName)); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [326/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = double]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:119:5: required from here 119 | ASSERT_NEAR(cvodeIntegrator.getValue("absolute_tolerance").getAs(), 1e-14, 1e-7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:83:5: required from here 83 | ASSERT_FALSE((bool) cvodeIntegrator.getValue("stiff")); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:97:5: required from here 97 | ASSERT_NEAR(1e-12, (float) absval, 1e-7); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/CVODEIntegratorTests/CvodeUnitTest.cpp:135:5: required from here 135 | ASSERT_EQ((int) cvodeIntegrator.getValue("maximum_bdf_order"), 3); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [328/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [329/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [330/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [331/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [332/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [333/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/PresimulationDecoratorTests.cpp:107:5: required from here 107 | ASSERT_EQ(14.37, (double)basicNewtonIteration->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [335/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [336/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [337/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [338/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SVDTests.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SVDTests.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SVDTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SVDTests.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SVDTests.cpp: In static member function ‘static void SVGTests::checkMatrixEquality(const ls::DoubleMatrix&, const ls::DoubleMatrix&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SVDTests.cpp:293:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 293 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SVDTests.cpp:294:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 294 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ [339/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [340/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [341/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ [343/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [344/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [345/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsNewtonIntegrationTests.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsNewtonIntegrationTests.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsNewtonIntegrationTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIntegrationTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsNewtonIntegrationTests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h: In member function ‘void SteadyStateIntegrationTest::testSteadyState(const std::string&, const std::string&, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:66:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 66 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [346/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsLinesearchIntegrationTests.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsLinesearchIntegrationTests.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsLinesearchIntegrationTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsLinesearchIntegrationTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsLinesearchIntegrationTests.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h: In member function ‘void SteadyStateIntegrationTest::testSteadyState(const std::string&, const std::string&, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:66:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 66 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SteadyStateIntegrationTests.h:47:64: required from here 47 | rr.setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [347/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/test_util.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/test_util.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [348/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [349/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/sbml-test-suite/STS.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/sbml-test-suite/STS.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [350/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsSteadyStateSolverUnitTest.cpp.o -MF test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsSteadyStateSolverUnitTest.cpp.o.d -o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsSteadyStateSolverUnitTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In member function ‘void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:18:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(StringDoubleMap, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:29:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp: In static member function ‘static void SundialsSteadyStateSolverUnitTest::checkResults(ls::DoubleMatrix, ls::DoubleMatrix)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:50:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 50 | for (int i=0; i< expectedMatrix.numRows(); i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/SundialsSteadyStateTests/SundialsSteadyStateSolverUnitTest.cpp:51:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 51 | for (int j=0; j(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [352/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [353/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/FFSUnitTests.cpp.o -MF test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/FFSUnitTests.cpp.o.d -o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/FFSUnitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSUnitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSUnitTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSUnitTests.cpp:7: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:30 = const 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: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs >() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs >() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = std::__cxx11::basic_string]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSUnitTests.cpp:123:5: required from here 123 | ASSERT_STREQ(s.getAs().c_str(), "fixed_point"); | ~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [354/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/FFSIntegrationTests.cpp.o -MF test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/FFSIntegrationTests.cpp.o.d -o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/FFSIntegrationTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSIntegrationTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSIntegrationTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSIntegrationTests.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:76:42: required from here 76 | bool passed = result.almostEquals(trueValues, 1e-4); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/FFSIntegrationTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:52:43: required from here 52 | opt.reset_model = setting.second; | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:58:38: required from here 58 | opt.setSteps(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests/../CVODEIntegratorTests/CvodeIntegrationTest.h:60:42: required from here 60 | opt.setStartTime(setting.second); | ~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [355/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sundials-tests/ForwardSensitivitySolverTests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/__/__/TestModelFactory.cpp.o -MF test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/__/__/TestModelFactory.cpp.o.d -o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/__/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [356/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [357/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [358/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [359/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [360/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [361/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [362/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [363/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [364/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/SettingTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/SettingTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/SettingTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-printers.h:122, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-matchers.h:49, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h:47, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-death-test.h:43, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:64, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_ImplicitCastNegativeIntToUInt_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:203:26: warning: unused variable ‘x’ [-Wunused-variable] 203 | unsigned int x = setting, | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_ImplicitCastNegativeIntToULong_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:212:27: warning: unused variable ‘x’ [-Wunused-variable] 212 | unsigned long x = setting, | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_ImplicitCastLongToIntOutOfBounds_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:223:17: warning: unused variable ‘x’ [-Wunused-variable] 223 | int x = setting, | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_ImplicitCastLongToNegIntOutOfBounds_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:234:13: warning: unused variable ‘x’ [-Wunused-variable] 234 | int x = setting, | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_DISABLED_EqualityOperatorWithIntBkwd_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:391:9: warning: unused variable ‘x’ [-Wunused-variable] 391 | int x = 345; | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp: In member function ‘virtual void SettingTests_DISABLED_InEqualityOperatorWithIntBkwd_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:403:9: warning: unused variable ‘x’ [-Wunused-variable] 403 | int x = 3456; | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const std::monostate&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__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::monostate&}]’ 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::monostate&>’ 2901 | 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::monostate&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const std::monostate&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3413:11: required by substitution of ‘template using std::invoke_result_t = typename std::invoke_result::type [with _Fn = rr::Setting::getAs() const::&; _Args = {const std::monostate&}]’ 3413 | using invoke_result_t = typename invoke_result<_Fn, _Args...>::type; | ^~~~~~~~~~~~~~~ /usr/include/c++/16/variant:1136:11: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1136 | using __visit_result_t | ^~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const std::monostate&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3413:11: required by substitution of ‘template using std::invoke_result_t = typename std::invoke_result::type [with _Fn = rr::Setting::operator std::monostate() const::; _Args = {const std::monostate&}]’ 3413 | using invoke_result_t = typename invoke_result<_Fn, _Args...>::type; | ^~~~~~~~~~~~~~~ /usr/include/c++/16/variant:1136:11: required by substitution of ‘template using std::__detail::__variant::__visit_result_t = std::invoke_result_t<_Visitor, std::__detail::__variant::__get_t<0, _Variants, decltype (std::__detail::__variant::__as(declval<_Variants>())), typename std::variant_alternative<0, typename std::remove_reference()))>::type>::type>...> [with _Visitor = rr::Setting::operator std::monostate() const::; _Variants = {const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&}]’ 1136 | using __visit_result_t | ^~~~~~~~~~~~~~~~ /usr/include/c++/16/variant:1955:5: required by substitution of ‘template constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator std::monostate() const::; _Variants = {const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&}]’ 1955 | visit(_Visitor&& __visitor, _Variants&&... __variants) | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = std::monostate]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:94:24: required from here 94 | std::monostate x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:290:5: required from here 290 | ASSERT_EQ(setting.getAs(), 5); // Okay, we can convert from int to unsigned when int > 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:30 = const 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: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs >() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs >() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = std::__cxx11::basic_string]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:298:5: required from here 299 | setting.getAs();, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:486:5: required from here 486 | ASSERT_EQ(typeid(smap["AnInt"].getAs()), typeid(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:114:14: required from here 114 | bool x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:132:22: required from here 132 | std::int64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long unsigned int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/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 unsigned int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned 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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long unsigned int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:138:23: required from here 138 | std::uint64_t x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator float() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator float() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = float]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = float]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:144:15: required from here 144 | float x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:150:16: required from here 150 | double x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:156:14: required from here 156 | char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator unsigned char() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned char]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = unsigned char]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTests.cpp:163:23: required from here 163 | unsigned char x = setting; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [365/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [366/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/RoadRunnerAPITestsWithMCJit.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/RoadRunnerAPITestsWithMCJit.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/RoadRunnerAPITestsWithMCJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITestsWithMCJit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITestsWithMCJit.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getIdsAfterSetConservedMoiety()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:164:14: warning: variable ‘it’ set but not used [-Wunused-but-set-variable=] 164 | auto it = l.begin(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::DISABLED_getSupportedIdTypes()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:632:14: warning: unused variable ‘x’ [-Wunused-variable] 632 | auto x = rr.getSupportedIdTypes(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getFullEigenValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:892:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 892 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getReducedEigenValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:904:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [367/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [368/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [369/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [370/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [371/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/GillespieTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/GillespieTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/GillespieTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp: In member function ‘virtual void GillespieTests_MaxNumSteps_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:194:33: warning: unused variable ‘results’ [-Wunused-variable] 194 | const ls::DoubleMatrix* results = rr.simulate(0, 500, 3); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:208:33: warning: unused variable ‘results’ [-Wunused-variable] 208 | const ls::DoubleMatrix* results = rr.simulate(0, 500, 3); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:220:29: warning: variable ‘results’ set but not used [-Wunused-but-set-variable=] 220 | const ls::DoubleMatrix* results = rr.simulate(0, 50, 11); | ^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/GillespieTests.cpp:67:53: required from here 67 | std::int64_t seed = rr.getIntegrator()->getValue("seed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [372/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [373/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [374/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/RoadRunnerAPITestsWithLLJit.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/RoadRunnerAPITestsWithLLJit.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/RoadRunnerAPITestsWithLLJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITestsWithLLJit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITestsWithLLJit.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getIdsAfterSetConservedMoiety()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:164:14: warning: variable ‘it’ set but not used [-Wunused-but-set-variable=] 164 | auto it = l.begin(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::DISABLED_getSupportedIdTypes()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:632:14: warning: unused variable ‘x’ [-Wunused-variable] 632 | auto x = rr.getSupportedIdTypes(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getFullEigenValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:892:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 892 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h: In member function ‘void RoadRunnerAPITests::getReducedEigenValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:904:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerAPITests.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [375/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/EulerIntegratorTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/EulerIntegratorTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/EulerIntegratorTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/EulerIntegratorTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/EulerIntegratorTests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/EulerIntegratorTests.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/EulerIntegratorTests.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [376/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [377/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [378/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [379/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [380/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [381/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [382/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [383/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/RK45IntegratorTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/RK45IntegratorTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/RK45IntegratorTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RK45IntegratorTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RK45IntegratorTests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [384/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [385/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [386/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [387/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/SparseMatrixTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/SparseMatrixTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/SparseMatrixTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SparseMatrixTests.cpp [388/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [389/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [390/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [391/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [392/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [393/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/IniFileTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/IniFileTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/IniFileTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/IniFileTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/IniFileTests.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [394/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [395/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [396/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [397/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [398/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [399/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [400/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/LoggerTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/LoggerTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/LoggerTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoggerTests.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoggerTests.cpp: In member function ‘virtual void LoggerTests_getFormattingPattern_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoggerTests.cpp:137:19: warning: unused variable ‘logger’ [-Wunused-variable] 137 | Poco::Logger& logger = getLogger(); | ^~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoggerTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [401/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [402/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [403/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [404/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [405/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [406/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/BasicDictionaryTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/BasicDictionaryTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/BasicDictionaryTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/BasicDictionaryTests.cpp:18:5: required from here 18 | ASSERT_EQ((int)basicDictionary.getItem("AnInt"), 4); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [407/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [408/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [409/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [410/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [411/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [412/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [413/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [414/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [415/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [416/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [417/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/SelectionRecordTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/SelectionRecordTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/SelectionRecordTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SelectionRecordTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SelectionRecordTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SelectionRecordTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [418/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [419/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/LoadSBMLOptionsTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/LoadSBMLOptionsTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/LoadSBMLOptionsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/LoadSBMLOptionsTests.cpp:112:118: required from here 112 | Config::LLVM_BACKEND_VALUES val = (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [420/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [421/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [422/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [423/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [424/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [425/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [426/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [427/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [428/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [429/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [430/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [431/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/ConfigTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/ConfigTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/ConfigTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:121:77: required from here 121 | int llvmBackendValue = Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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 unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:167:52: required from here 167 | uint64_t seed = seed_as_setting.getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto: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.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:170:5: required from here 170 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = unsigned int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = unsigned int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:171:5: required from here 171 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:30 = const 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: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs >() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs >() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = std::__cxx11::basic_string]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:173:5: required from here 173 | ASSERT_THROW(seed_as_setting.getAs(), std::invalid_argument); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:80:5: required from here 80 | ASSERT_NEAR(0.1, Config::getValue(Config::ROADRUNNER_JACOBIAN_STEP_SIZE), 1e-7); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/ConfigTests.cpp:85:5: required from here 85 | ASSERT_TRUE((bool) Config::getValue(Config::LOADSBMLOPTIONS_OPTIMIZE_GVN)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [432/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [433/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/MatrixTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/MatrixTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/MatrixTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::operator==(rr::Matrix&) [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:26:5: required from here 26 | ASSERT_TRUE(first == second); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:174:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 174 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 175 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:50:5: required from here 50 | ASSERT_TRUE(first.almostEquals(second, 1e-4)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::operator==(rr::Matrix&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:128:27: required from here 128 | bool equal = first == second; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:174:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 174 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 175 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘rr::Matrix::Matrix(ls::Matrix&) [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:136:38: required from here 136 | rr::Matrix rrMatrix(lsMatrix); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:141:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 141 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:142:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 142 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::sortRowsByLabels() [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:171:25: required from here 171 | mat.sortRowsByLabels(); | ~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:260:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 260 | for (int i = 0; i < rowLabels.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:261:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 261 | for (int j = 0; j < rowLabels.size() - 1; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::sortColsByLabels() [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:239:25: required from here 239 | mat.sortColsByLabels(); | ~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:297:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 297 | for (int i = 0; i < colLabels.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:298:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 298 | for (int j = 0; j < colLabels.size() - 1; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteRow(int) [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:270:18: required from here 270 | mat.deleteRow(2); | ~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:316:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 316 | if (which > numRows() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:328:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 328 | if (which == this->_Rows) { | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MatrixTests.cpp:330:18: required from here 330 | mat.deleteCol(2); | ~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ [434/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [435/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [436/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [437/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [438/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [439/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [440/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/Matrix3DTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/Matrix3DTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/Matrix3DTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:38:40: required from here 38 | bool passed = expected.almostEquals(actual, 1e-4); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::insert(IndexType, rr::Matrix) [with IndexType = int; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:204:13: required from here 204 | m.insert(0, { | ~~~~~~~~^~~~~ 205 | {0, 1, 2}, | ~~~~~~~~~~ 206 | {3, 4, 5}, | ~~~~~~~~~~ 207 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:56:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 56 | if (mat.numRows() != numRows()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:62:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 62 | if (mat.numCols() != numCols()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteRow(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:345:36: required from ‘void rr::Matrix3D::deleteRow(const int&) [with IndexType = double; DataType = double]’ 345 | submatrix.deleteRow(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:526:23: required from here 526 | matrix3D.deleteRow(0); | ~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:316:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 316 | if (which > numRows() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:328:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 328 | if (which == this->_Rows) { | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:371:36: required from ‘void rr::Matrix3D::deleteCol(const int&) [with IndexType = double; DataType = double]’ 371 | submatrix.deleteCol(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:653:23: required from here 653 | matrix3D.deleteCol(0); | ~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::operator==(rr::Matrix&) [with T = int]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:190:24: required from ‘bool rr::Matrix::operator!=(rr::Matrix&) [with T = int]’ 190 | return !(*this == other); | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:297:30: required from ‘bool rr::Matrix3D::operator==(rr::Matrix3D&) [with IndexType = int; DataType = int]’ 297 | if (data_[i] != other.data_[i]) { | ~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:266:5: required from here 266 | ASSERT_TRUE(first == second); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:174:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 174 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 175 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::operator==(rr::Matrix&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:190:24: required from ‘bool rr::Matrix::operator!=(rr::Matrix&) [with T = double]’ 190 | return !(*this == other); | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:297:30: required from ‘bool rr::Matrix3D::operator==(rr::Matrix3D&) [with IndexType = double; DataType = double]’ 297 | if (data_[i] != other.data_[i]) { | ~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/Matrix3DTests.cpp:543:5: required from here 543 | ASSERT_TRUE(matrix3D == expected); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:174:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 174 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:175:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 175 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ [441/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [442/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [443/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [444/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [445/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/JacobianTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/JacobianTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/JacobianTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘rr::Matrix::Matrix(ls::Matrix&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:105:57: required from here 105 | rr::Matrix expectedJacMatrix(expectedJac); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:141:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 141 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:142:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 142 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::sortColsByLabels() [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:109:43: required from here 109 | expectedJacMatrix.sortColsByLabels(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:297:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 297 | for (int i = 0; i < colLabels.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:298:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 298 | for (int j = 0; j < colLabels.size() - 1; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::sortRowsByLabels() [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:110:43: required from here 110 | expectedJacMatrix.sortRowsByLabels(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:260:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 260 | for (int i = 0; i < rowLabels.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:261:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 261 | for (int j = 0; j < rowLabels.size() - 1; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:115:53: required from here 115 | bool passed = expectedJacMatrix.almostEquals(actualJacMatrix, tol); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:91:56: required from here 91 | if (jacSettings["steady_state"].getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/JacobianTests.cpp:228:5: required from here 229 | Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [446/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [447/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [448/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [449/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [450/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [451/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/StructuralAnalysisTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/StructuralAnalysisTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/StructuralAnalysisTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp: In member function ‘virtual void StructuralAnalysisTests_TeusinkATPClassificationAfterConversion_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:353:27: warning: loop variable ‘id’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 353 | for (const std::string& id : {"ATP", "ADP", "AMP"}) { | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:353:27: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:358:27: warning: loop variable ‘id’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 358 | for (const std::string& id : {"SUM_P", "F26BP"}) { | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:358:27: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:31:44: required from here 31 | bool passed = expected.almostEquals(actual, tol); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘rr::Matrix::Matrix(ls::Matrix&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/StructuralAnalysisTests.cpp:49:49: required from here 49 | Matrix rrMatrixExpected(expected); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:141:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 141 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:142:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 142 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ [452/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [453/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [454/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [455/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [456/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [457/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [458/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [459/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [460/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/test_util.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/test_util.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [461/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/RoadRunnerMapTests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/RoadRunnerMapTests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/RoadRunnerMapTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp: In member function ‘virtual void RoadRunnerMapTests_GetterOperator_CheckThatWeGetBorrowedReference_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp:248:17: warning: unused variable ‘rr’ [-Wunused-variable] 248 | RoadRunner *rr = rrm["case00001"]; | ^~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘STS::STS() [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp:39:26: required from here 39 | RoadRunnerMapTests() { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:115:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 115 | for (int i = 1; i < SemanticOrStochastic::maxNum(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘std::vector > STS::getModelsFromSTSAsStrings(int, int) [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/RoadRunnerMapTests.cpp:44:52: required from here 44 | sbmlStrings = sts.getModelsFromSTSAsStrings(1, N + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:183:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ [462/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/MCATests.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/MCATests.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/MCATests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp: In function ‘void checkEigenvaluesEqual(const ls::DoubleMatrix&, const ls::DoubleMatrix&, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int i = 0; i < expected.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp: In member function ‘virtual void MCAMixedRateRuleTests_FullStoichiometryMatrixSmokeTest_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp:809:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 809 | for (int j = 0; j < stoich.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/MCATests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [463/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTest.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTest.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [464/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DSettingTestsSwigAPI_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPI.cpp.o -MF test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPI.cpp.o.d -o test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPI.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTestsSwigAPI.cpp [465/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [466/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DSettingTestsSwigAPI_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx.o -MF test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx.o.d -o test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3371: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setStringType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3552:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3552 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setBoolType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3630:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3630 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setInt32Type(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3708:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3708 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setUint32Type(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3786:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3786 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setInt64Type(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3864:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3864 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setUint64Type(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:3942:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 3942 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setFloatType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4020:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 4020 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setDoubleType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4098:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 4098 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setCharType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4176:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 4176 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setUCharType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4254:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 4254 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setDoubleVectorType(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4332:13: warning: unused variable ‘settingObjFromPython2’ [-Wunused-variable] 4332 | PyObject *settingObjFromPython2 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SettingTestsSwigAPI_setValueInSettings(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx:4426:13: warning: unused variable ‘settingObjFromPython3’ [-Wunused-variable] 4426 | PyObject *settingObjFromPython3 ; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ [467/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [468/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/__/test_util.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/__/test_util.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [469/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/TestModelFactory.cpp.o -MF test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/TestModelFactory.cpp.o.d -o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [470/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTest.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTest.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [471/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DSettingTestsSwigAPI_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/__/__/wrappers/Python/roadrunner/PyUtils.cpp.o -MF test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/__/__/wrappers/Python/roadrunner/PyUtils.cpp.o.d -o test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/__/__/wrappers/Python/roadrunner/PyUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:60: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:180:19: warning: unused variable ‘result’ [-Wunused-variable] 180 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:349:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 349 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:424:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 424 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:664:30: warning: unused variable ‘rows’ [-Wunused-variable] 664 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1770:24: warning: unused variable ‘arr’ [-Wunused-variable] 1770 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [472/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/__/sbml-test-suite/STS.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/__/sbml-test-suite/STS.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [473/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Dpicklable_swig_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CPPObjectForPickling.cpp.o -MF test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CPPObjectForPickling.cpp.o.d -o test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CPPObjectForPickling.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig/CPPObjectForPickling.cpp [474/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Dpicklable_swig_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx.o -MF test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx.o.d -o test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx [475/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/__/sbml-test-suite/STS.cpp.o -MF test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [476/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/RoadRunnerMapPerformanceTests.cpp.o -MF test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/RoadRunnerMapPerformanceTests.cpp.o.d -o test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/RoadRunnerMapPerformanceTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/PerformanceTests/RoadRunnerMapPerformanceTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/PerformanceTests/RoadRunnerMapPerformanceTests.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘STS::STS() [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/PerformanceTests/RoadRunnerMapPerformanceTests.cpp:81:9: required from here 81 | STS sts; | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:115:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 115 | for (int i = 1; i < SemanticOrStochastic::maxNum(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [477/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/__/TestModelFactory.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/__/TestModelFactory.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [478/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [479/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/test_util.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/test_util.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [480/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTest.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTest.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [481/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/sbml-test-suite/STS.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/sbml-test-suite/STS.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [482/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/serialization/CMakeFiles/test_state_saving.dir/state_saving.cpp.o -MF test/serialization/CMakeFiles/test_state_saving.dir/state_saving.cpp.o.d -o test/serialization/CMakeFiles/test_state_saving.dir/state_saving.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp: In member function ‘std::unique_ptr StateSavingTestsModelData::saveAndLoadState(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:892:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 892 | return std::move(rr2); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:892:25: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp: In member function ‘void StateSavingTestsModelData::compareValuesGlobalParameters(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:991:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 991 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp: In member function ‘void StateSavingTestsModelData::compareValuesReactionRates(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:1001:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1001 | for (int i = 0; i < expected.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘rr::Matrix::Matrix(ls::Matrix&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:482:60: required from here 482 | auto actualData = rr::Matrix(actualDataLsMatrix); // for almostEquals | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:141:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 141 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:142:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 142 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘bool rr::Matrix::almostEquals(rr::Matrix&, const double&) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/state_saving.cpp:484:5: required from here 484 | ASSERT_TRUE(expectedData.almostEquals(actualData, 1e-4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:211:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 211 | for (int i = 0; i < numRows(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | for (int j = 0; j < numCols(); j++) { | ~~^~~~~~~~~~~ [483/538] : && /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 && : [484/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/TestModelFactory.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/TestModelFactory.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [485/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=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/SundialsLogger.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/LLJitSectionMemory.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/ResetRateRuleStoichCodeGen.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/llvm14/lib::: -lpthread -ldl -lm /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_core.a /usr/lib64/libsundials_nvecserial.a /usr/lib64/libsundials_nvecmanyvector.a /usr/lib64/libsundials_sunmatrixband.a /usr/lib64/libsundials_sunmatrixdense.a /usr/lib64/libsundials_sunmatrixsparse.a /usr/lib64/libsundials_sunlinsolband.a /usr/lib64/libsundials_sunlinsoldense.a /usr/lib64/libsundials_sunlinsolpcg.a /usr/lib64/libsundials_sunlinsolspbcgs.a /usr/lib64/libsundials_sunlinsolspfgmr.a /usr/lib64/libsundials_sunlinsolspgmr.a /usr/lib64/libsundials_sunlinsolsptfqmr.a /usr/lib64/libsundials_sunnonlinsolnewton.a /usr/lib64/libsundials_sunnonlinsolfixedpoint.a /usr/lib64/libsundials_cvodes.a /usr/lib64/libsundials_kinsol.a /usr/lib64/libPocoNet.so.111 /usr/lib64/libPocoXML.so.111 /usr/lib64/libexpat.so.1.13.0 /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.13.0 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [486/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sbml-test-suite/CMakeFiles/STSTest.dir/link.d test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o -o bin/STSTest -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [487/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/CMakeFiles/TestModelFactory.dir/link.d -o lib/site-packages/roadrunner/tests/_TestModelFactory.so test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o -Wl,-rpath,/usr/lib64/llvm14/lib::: lib/libroadrunner-static.a /usr/lib64/libpython3.15.so /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock_main.a lib/libgmock.a lib/libgtest_main.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests/_TestModelFactory.so /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/TestModelFactory.py /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests [488/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=wrappers/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/llvm14/lib::: lib/libroadrunner-static.a /usr/lib64/libpython3.15.so /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm -lgcc_s_asneeded -lgcc_s_asneeded && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/roadrunner.py /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/roadrunner.py [489/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_LLVMModelDataSymbolsTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [490/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/c_api_core/CMakeFiles/test_c_api_core.dir/link.d test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o -o bin/test_c_api_core -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [491/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_MCJitTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [492/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_LLJitTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [493/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_LLJitMapFunctionsToJitSymbolsTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [494/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_MCJitMapFunctionsToJitSymbolsTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [495/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_CsrMatrixJitAliasSignatureTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [496/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_EvalInitialConditionsTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [497/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_RandomTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [498/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_JitFactoryTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [499/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/link.d test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o -o bin/test_llvm_LLJitSectionRange -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [500/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/link.d test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o -o bin/test_c_api_rrtests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [501/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/model_analysis/CMakeFiles/test_model_analysis.dir/link.d test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o -o bin/test_model_analysis -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [502/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/model_editing/CMakeFiles/test_model_editing.dir/link.d test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o -o bin/test_model_editing -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [503/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sbml_features/CMakeFiles/test_sbml_features.dir/link.d test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -o bin/test_sbml_features -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [504/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/link.d test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/CvodeIntegrationTest.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/test_util.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_integration.dir/__/__/sbml-test-suite/STS.cpp.o -o bin/test_sundials_cvode_integration -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [505/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/ApproxSteadyStateDecoratorTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_approx.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_steady_state_approx -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [506/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/link.d test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/CvodeUnitTest.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/test_util.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/CVODEIntegratorTests/CMakeFiles/test_sundials_cvode_unit.dir/__/__/sbml-test-suite/STS.cpp.o -o bin/test_sundials_cvode_unit -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [507/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/AutomaticMoietyConservationTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_automatic_moiety_conservation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_automatic_moiety_conservation -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [508/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsNewtonIterationUnitTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_basic_newton.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_steady_state_unit_basic_newton -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [509/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SVDTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_unit_svd.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_unit_svd -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [510/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/PresimulationDecoratorTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_unit_presimulation.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_steady_state_unit_presimulation -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [511/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/link.d test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsNewtonIntegrationTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/DecoratorIntegrationTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsLinesearchIntegrationTests.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTestDirectory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/test_util.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/RoadRunnerTest.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/TestModelFactory.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/__/__/sbml-test-suite/STS.cpp.o test/sundials-tests/SundialsSteadyStateTests/CMakeFiles/test_sundials_steady_state_integration.dir/SundialsSteadyStateSolverUnitTest.cpp.o -o bin/test_sundials_steady_state_integration -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [512/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/link.d test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/FFSUnitTests.cpp.o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSUnitTests.dir/__/__/TestModelFactory.cpp.o -o bin/test_sundials_FFSUnitTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [513/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/link.d test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/FFSIntegrationTests.cpp.o test/sundials-tests/ForwardSensitivitySolverTests/CMakeFiles/test_sundials_FFSIntegrationTests.dir/__/__/TestModelFactory.cpp.o -o bin/test_sundials_FFSIntegrationTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [514/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/SettingTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SettingTests.dir/__/TestModelFactory.cpp.o -o bin/test_cxx_api_SettingTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [515/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/RoadRunnerAPITestsWithMCJit.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsMCJit.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_RoadRunnerAPITestsMCJit -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [516/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/RoadRunnerAPITestsWithLLJit.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerAPITestsLLJit.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_RoadRunnerAPITestsLLJit -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [517/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/GillespieTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_GillespieTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_GillespieTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [518/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/EulerIntegratorTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_EulerIntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_EulerIntegratorTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [519/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/RK45IntegratorTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RK45IntegratorTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_RK45IntegratorTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [520/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/SparseMatrixTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SparseMatrixTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_SparseMatrixTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [521/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/IniFileTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_IniFileTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_IniFileTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [522/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/LoggerTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoggerTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_LoggerTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [523/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/BasicDictionaryTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_BasicDictionaryTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_BasicDictionaryTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [524/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/LoadSBMLOptionsTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_LoadSBMLOptionsTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_LoadSBMLOptionsTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [525/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/SelectionRecordTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_SelectionRecordTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_SelectionRecordTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [526/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/ConfigTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_ConfigTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_ConfigTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [527/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/Matrix3DTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_Matrix3DTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_Matrix3DTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [528/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/MatrixTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MatrixTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_MatrixTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [529/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/JacobianTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_JacobianTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_JacobianTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [530/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/StructuralAnalysisTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_StructuralAnalysisTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_StructuralAnalysisTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [531/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/MCATests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_MCATests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_MCATests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [532/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/link.d test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/RoadRunnerMapTests.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTestDirectory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/test_util.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/RoadRunnerTest.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/TestModelFactory.cpp.o test/cxx_api_tests/CMakeFiles/test_cxx_api_RoadRunnerMapTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/test_cxx_api_RoadRunnerMapTests -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [533/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/link.d -o lib/site-packages/roadrunner/tests/_picklable_swig.so test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx.o test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/CPPObjectForPickling.cpp.o -Wl,-rpath,/usr/lib64/llvm14/lib::: lib/libroadrunner-static.a /usr/lib64/libpython3.15.so /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock_main.a lib/libgmock.a lib/libgtest_main.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests/_picklable_swig.so /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/picklable_swig.py /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests [534/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/link.d -o lib/site-packages/roadrunner/tests/_SettingTestsSwigAPI.so test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx.o test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPI.cpp.o test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/__/__/wrappers/Python/roadrunner/PyUtils.cpp.o -Wl,-rpath,/usr/lib64/llvm14/lib::: lib/libroadrunner-static.a /usr/lib64/libpython3.15.so /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock_main.a lib/libgmock.a lib/libgtest_main.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests/_SettingTestsSwigAPI.so /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests && cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests && /usr/bin/cmake -E copy /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/SettingTestsSwigAPI.py /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests [535/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/serialization/CMakeFiles/test_state_saving.dir/link.d test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTestDirectory.cpp.o test/serialization/CMakeFiles/test_state_saving.dir/__/test_util.cpp.o test/serialization/CMakeFiles/test_state_saving.dir/__/RoadRunnerTest.cpp.o test/serialization/CMakeFiles/test_state_saving.dir/__/TestModelFactory.cpp.o test/serialization/CMakeFiles/test_state_saving.dir/__/sbml-test-suite/STS.cpp.o test/serialization/CMakeFiles/test_state_saving.dir/state_saving.cpp.o -o bin/test_state_saving -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : [536/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/link.d test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/RoadRunnerMapPerformanceTests.cpp.o test/PerformanceTests/CMakeFiles/RoadRunnerMapPerformanceTests.dir/__/sbml-test-suite/STS.cpp.o -o bin/RoadRunnerMapPerformanceTests -Wl,-rpath,/usr/lib64/llvm14/lib lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [537/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/semantic_STS/CMakeFiles/test_semantic_STS.dir/sbml_test_suite.cpp.o -MF test/semantic_STS/CMakeFiles/test_semantic_STS.dir/sbml_test_suite.cpp.o.d -o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/sbml_test_suite.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS/sbml_test_suite.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/semantic_STS/sbml_test_suite.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [538/538] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=test/semantic_STS/CMakeFiles/test_semantic_STS.dir/link.d test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTestDirectory.cpp.o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/test_util.cpp.o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/RoadRunnerTest.cpp.o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/TestModelFactory.cpp.o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/__/sbml-test-suite/STS.cpp.o test/semantic_STS/CMakeFiles/test_semantic_STS.dir/sbml_test_suite.cpp.o -o bin/test_semantic_STS -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib64/llvm14/lib:" lib/libroadrunner_c_api.so lib/libgtest.a lib/libgtest_main.a lib/libgmock.a lib/libgmock_main.a lib/libroadrunner-static.a /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_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.13.0 /usr/lib64/libexpat.so.1.13.0 -lm lib/libgmock.a lib/libgtest.a -lgcc_s_asneeded -lgcc_s_asneeded && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ppXxUk + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + '[' /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libroadrunner-2.11.0-build + mkdir /builddir/build/BUILD/libroadrunner-2.11.0-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 roadrunner-2.11.0 + b=redhat-linux-build + install -d /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64 /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages + cp -a redhat-linux-build/lib/libroadrunner.so /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/ + cp -a redhat-linux-build/lib/libroadrunner_c_api.so /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/ + cp -a redhat-linux-build/lib/site-packages/roadrunner /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/ + install -d /builddir/build/BUILD/libroadrunner-2.11.0-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/SundialsLogger.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.11.0-build/BUILDROOT/usr/include/rr/ + xargs -r chrpath --delete + find /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT -name '*.so' -o -name '*.so.*' + /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.11.0-build/BUILDROOT/usr/lib64/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_settings.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_steadyStateSolver.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_roadrunner_map.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_runStochasticTestSuite.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/testfiles.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_testModelFactory.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_rrtests.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_structuralAnalysis.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_jacobian.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_pickle.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_integrator.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_python_api.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_forwardSensitivitySolver.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_namedArray.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_automaticMoietyConservationAnalysis.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/test_auto_plugin.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/picklable_swig.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/download_biomodels.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/SBMLTest.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/__main__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/RoadRunnerTest.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/SettingTestsSwigAPI.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/tests/__pycache__/TestModelFactory.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages/roadrunner/__pycache__/roadrunner.cpython-315.opt-1.pyc: rewriting with normalized contents Scanned 12 directories and 210 files, processed 26 inodes, 26 modified (0 replaced + 26 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr Scanned 11 directories and 210 files, considered 210 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/libroadrunner-2.11.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RkqlDa + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd roadrunner-2.11.0 + RR_CTEST_EXCLUDE='^python_tests_(AutoPluginTest|RRTests|RunStochasticTestSuite)$' + RR_CTEST_EXCLUDE+='|^PythonTests$' + RR_CTEST_EXCLUDE+='|^CApiRRTests\.(TestTest_2|Testjacobian_1)$' + RR_CTEST_EXCLUDE+='|^ModelAnalysisTests\.SetSeed_' + RR_CTEST_EXCLUDE+='|^AutomaticMoietyAnalysisTests\.NeededOffOff$' + RR_CTEST_EXCLUDE+='|^RoadRunnerAPITestsWith(MC|LL)Jit\.(getSteadyStateValues|getSteadyStateSolver|getExistingSteadyStateSolverNames|getRegisteredSteadyStateSolverNames|setSteadyStateSolver|steadyStateSolverExistsWhen)' + RR_CTEST_EXCLUDE+='|^StateSavingTests\.LOAD_VALID_FILE$' + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 -j1 --timeout 1800 -E '^python_tests_(AutoPluginTest|RRTests|RunStochasticTestSuite)$|^PythonTests$|^CApiRRTests\.(TestTest_2|Testjacobian_1)$|^ModelAnalysisTests\.SetSeed_|^AutomaticMoietyAnalysisTests\.NeededOffOff$|^RoadRunnerAPITestsWith(MC|LL)Jit\.(getSteadyStateValues|getSteadyStateSolver|getExistingSteadyStateSolverNames|getRegisteredSteadyStateSolverNames|setSteadyStateSolver|steadyStateSolverExistsWhen)|^StateSavingTests\.LOAD_VALID_FILE$' Test project /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build Start 1: python_tests_AutomaticMoietyConservationAnalysisTests 1/3476 Test #1: python_tests_AutomaticMoietyConservationAnalysisTests ............................................. Passed 3.34 sec Start 2: python_tests_ForwardSensitivitySolverTests 2/3476 Test #2: python_tests_ForwardSensitivitySolverTests ........................................................ Passed 1.15 sec Start 3: python_tests_IntegratorTests 3/3476 Test #3: python_tests_IntegratorTests ...................................................................... Passed 1.53 sec Start 4: python_tests_JacobianTests 4/3476 Test #4: python_tests_JacobianTests ........................................................................ Passed 0.65 sec Start 5: python_tests_TestModelFactoryTests 5/3476 Test #5: python_tests_TestModelFactoryTests ................................................................ Passed 0.32 sec Start 6: python_tests_NamedArrayTests 6/3476 Test #6: python_tests_NamedArrayTests ...................................................................... Passed 0.54 sec Start 7: python_tests_Python_api_tests 7/3476 Test #7: python_tests_Python_api_tests ..................................................................... Passed 20.63 sec Start 8: python_tests_SteadyStateSolverTests 8/3476 Test #8: python_tests_SteadyStateSolverTests ............................................................... Passed 2.38 sec Start 9: python_tests_StructuralAnalysisTests 9/3476 Test #9: python_tests_StructuralAnalysisTests .............................................................. Passed 0.58 sec Start 10: python_tests_RoadRunnerMap 10/3476 Test #10: python_tests_RoadRunnerMap ........................................................................ Passed 3.34 sec Start 11: python_tests_SettingTests 11/3476 Test #11: python_tests_SettingTests ......................................................................... Passed 0.32 sec Start 12: SemanticSTSModelTests.getRootDirectory 12/3476 Test #12: SemanticSTSModelTests.getRootDirectory ............................................................ Passed 0.02 sec Start 13: SemanticSTSModelTests.getModelDescriptionFile 13/3476 Test #13: SemanticSTSModelTests.getModelDescriptionFile ..................................................... Passed 0.02 sec Start 14: SemanticSTSModelTests.getResultsFile 14/3476 Test #14: SemanticSTSModelTests.getResultsFile .............................................................. Passed 0.02 sec Start 15: SemanticSTSModelTests.getSettingsFile 15/3476 Test #15: SemanticSTSModelTests.getSettingsFile ............................................................. Passed 0.02 sec Start 16: SemanticSTSModelTests.getL3V2 16/3476 Test #16: SemanticSTSModelTests.getL3V2 ..................................................................... Passed 0.02 sec Start 17: SemanticSTSModelTests.getL3V1 17/3476 Test #17: SemanticSTSModelTests.getL3V1 ..................................................................... Passed 0.02 sec Start 18: SemanticSTSModelTests.getL2V5 18/3476 Test #18: SemanticSTSModelTests.getL2V5 ..................................................................... Passed 0.02 sec Start 19: SemanticSTSModelTests.getL2V4 19/3476 Test #19: SemanticSTSModelTests.getL2V4 ..................................................................... Passed 0.02 sec Start 20: SemanticSTSModelTests.getL2V3 20/3476 Test #20: SemanticSTSModelTests.getL2V3 ..................................................................... Passed 0.02 sec Start 21: SemanticSTSModelTests.getL2V2 21/3476 Test #21: SemanticSTSModelTests.getL2V2 ..................................................................... Passed 0.02 sec Start 22: StochasticSTSModelTests.getMeanFile 22/3476 Test #22: StochasticSTSModelTests.getMeanFile ............................................................... Passed 0.02 sec Start 23: StochasticSTSModelTests.getSDFile 23/3476 Test #23: StochasticSTSModelTests.getSDFile ................................................................. Passed 0.02 sec Start 24: StochasticSTSModelTests.getModFile 24/3476 Test #24: StochasticSTSModelTests.getModFile ................................................................ Passed 0.02 sec Start 25: STSTests.getModelNFromSTS 25/3476 Test #25: STSTests.getModelNFromSTS ......................................................................... Passed 0.02 sec Start 26: STSTests.getModelsFromSTSVec 26/3476 Test #26: STSTests.getModelsFromSTSVec ...................................................................... Passed 0.02 sec Start 27: STSTests.getModelsFromSTS 27/3476 Test #27: STSTests.getModelsFromSTS ......................................................................... Passed 0.02 sec Start 28: STSTests.getModelsFromSTSAsStrings 28/3476 Test #28: STSTests.getModelsFromSTSAsStrings ................................................................ Passed 0.03 sec Start 29: SimulateOptionsCAPITests.simulateExThenSimulateTimes 29/3476 Test #29: SimulateOptionsCAPITests.simulateExThenSimulateTimes .............................................. Passed 0.04 sec Start 30: SimulateOptionsCAPITests.simulateTimesThenSimulateEx 30/3476 Test #30: SimulateOptionsCAPITests.simulateTimesThenSimulateEx .............................................. Passed 0.04 sec Start 31: SimulateOptionsCAPITests.largerSimulateTimesAfterSimulateTimes 31/3476 Test #31: SimulateOptionsCAPITests.largerSimulateTimesAfterSimulateTimes .................................... Passed 0.04 sec Start 32: SimulateOptionsCAPITests.smallerSimulateTimesAfterSimulateTimes 32/3476 Test #32: SimulateOptionsCAPITests.smallerSimulateTimesAfterSimulateTimes ................................... Passed 0.04 sec Start 33: SimulateOptionsCAPITests.rawSettersTimesAfterSteps 33/3476 Test #33: SimulateOptionsCAPITests.rawSettersTimesAfterSteps ................................................ Passed 0.04 sec Start 34: SimulateOptionsCAPITests.rawSettersStepsAfterTimes 34/3476 Test #34: SimulateOptionsCAPITests.rawSettersStepsAfterTimes ................................................ Passed 0.04 sec Start 35: SimulateOptionsCAPITests.gillespieOnGridExStepsAfterSimulateTimes 35/3476 Test #35: SimulateOptionsCAPITests.gillespieOnGridExStepsAfterSimulateTimes ................................. Passed 0.05 sec Start 36: CAPIModelEditingTests.CLEAR_MODEL_1 36/3476 Test #36: CAPIModelEditingTests.CLEAR_MODEL_1 ............................................................... Passed 0.09 sec Start 37: CAPIModelEditingTests.ADD_REACTION_1 37/3476 Test #37: CAPIModelEditingTests.ADD_REACTION_1 .............................................................. Passed 0.09 sec Start 38: CAPIModelEditingTests.REMOVE_REACTION_1 38/3476 Test #38: CAPIModelEditingTests.REMOVE_REACTION_1 ........................................................... Passed 0.09 sec Start 39: CAPIModelEditingTests.ADD_SPECIES_1 39/3476 Test #39: CAPIModelEditingTests.ADD_SPECIES_1 ............................................................... Passed 0.10 sec Start 40: CAPIModelEditingTests.REMOVE_SPECIES_1 40/3476 Test #40: CAPIModelEditingTests.REMOVE_SPECIES_1 ............................................................ Passed 0.09 sec Start 41: CAPIModelEditingTests.ADD_EVENT_1 41/3476 Test #41: CAPIModelEditingTests.ADD_EVENT_1 ................................................................. Passed 0.11 sec Start 42: CAPIModelEditingTests.EVENT_PRIORITY_1 42/3476 Test #42: CAPIModelEditingTests.EVENT_PRIORITY_1 ............................................................ Passed 0.34 sec Start 43: CAPIModelEditingTests.EVENT_DELAY_1 43/3476 Test #43: CAPIModelEditingTests.EVENT_DELAY_1 ............................................................... Passed 0.10 sec Start 44: CAPIModelEditingTests.REMOVE_EVENT_1 44/3476 Test #44: CAPIModelEditingTests.REMOVE_EVENT_1 .............................................................. Passed 0.11 sec Start 45: CAPIModelEditingTests.ADD_PARAMETER_1 45/3476 Test #45: CAPIModelEditingTests.ADD_PARAMETER_1 ............................................................. Passed 0.10 sec Start 46: CAPIModelEditingTests.ADD_COMPARTMENT_1 46/3476 Test #46: CAPIModelEditingTests.ADD_COMPARTMENT_1 ........................................................... Passed 0.13 sec Start 47: CAPIModelEditingTests.ADD_ASSIGNMENT_RULE_1 47/3476 Test #47: CAPIModelEditingTests.ADD_ASSIGNMENT_RULE_1 ....................................................... Passed 0.09 sec Start 48: CAPIModelEditingTests.ADD_RATE_RULE_1 48/3476 Test #48: CAPIModelEditingTests.ADD_RATE_RULE_1 ............................................................. Passed 0.10 sec Start 49: CAPIModelEditingTests.SET_KINETIC_LAW_1 49/3476 Test #49: CAPIModelEditingTests.SET_KINETIC_LAW_1 ........................................................... Passed 0.09 sec Start 50: CAPIModelEditingTests.ADD_EVENT_ASSIGNMENT_1 50/3476 Test #50: CAPIModelEditingTests.ADD_EVENT_ASSIGNMENT_1 ...................................................... Passed 0.11 sec Start 51: CAPIModelEditingTests.ADD_TRIGGER_1 51/3476 Test #51: CAPIModelEditingTests.ADD_TRIGGER_1 ............................................................... Passed 0.11 sec Start 52: CAPIModelEditingTests.PAUSE_10 52/3476 Test #52: CAPIModelEditingTests.PAUSE_10 .................................................................... Passed 0.10 sec Start 53: CAPIModelEditingTests.REMOVE_COMPARTMENT_1 53/3476 Test #53: CAPIModelEditingTests.REMOVE_COMPARTMENT_1 ........................................................ Passed 0.10 sec Start 54: CAPIModelEditingTests.REMOVE_EVENT_ASSIGNMENT_1 54/3476 Test #54: CAPIModelEditingTests.REMOVE_EVENT_ASSIGNMENT_1 ................................................... Passed 0.10 sec Start 55: CAPIModelEditingTests.SET_PERSISTENT_1 55/3476 Test #55: CAPIModelEditingTests.SET_PERSISTENT_1 ............................................................ Passed 0.11 sec Start 56: CAPIModelEditingTests.SET_PERSISTENT_2 56/3476 Test #56: CAPIModelEditingTests.SET_PERSISTENT_2 ............................................................ Passed 0.11 sec Start 57: CAPIModelEditingTests.SET_CONSTANT_1 57/3476 Test #57: CAPIModelEditingTests.SET_CONSTANT_1 .............................................................. Passed 0.09 sec Start 58: CAPIModelEditingTests.SET_CONSTANT_2 58/3476 Test #58: CAPIModelEditingTests.SET_CONSTANT_2 .............................................................. Passed 0.09 sec Start 59: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_1 59/3476 Test #59: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_1 .............................................. Passed 0.09 sec Start 60: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_2 60/3476 Test #60: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_2 .............................................. Passed 0.10 sec Start 61: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_3 61/3476 Test #61: CAPIModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_3 .............................................. Passed 0.09 sec Start 62: CAPIModelEditingTests.SET_INITIAL_CONCENTRATION_1 62/3476 Test #62: CAPIModelEditingTests.SET_INITIAL_CONCENTRATION_1 ................................................. Passed 0.22 sec Start 63: CAPIModelEditingTests.SET_INITIAL_CONCENTRATION_2 63/3476 Test #63: CAPIModelEditingTests.SET_INITIAL_CONCENTRATION_2 ................................................. Passed 0.22 sec Start 64: CAPIModelEditingTests.SET_INITIAL_AMOUNT_1 64/3476 Test #64: CAPIModelEditingTests.SET_INITIAL_AMOUNT_1 ........................................................ Passed 0.12 sec Start 65: CAPIModelEditingTests.SET_INITIAL_AMOUNT_2 65/3476 Test #65: CAPIModelEditingTests.SET_INITIAL_AMOUNT_2 ........................................................ Passed 0.17 sec Start 66: CAPIModelEditingTests.SET_REVERSIBLE_1 66/3476 Test #66: CAPIModelEditingTests.SET_REVERSIBLE_1 ............................................................ Passed 0.09 sec Start 67: CAPIModelEditingTests.SET_REVERSIBLE_2 67/3476 Test #67: CAPIModelEditingTests.SET_REVERSIBLE_2 ............................................................ Passed 0.10 sec Start 68: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_1 68/3476 Test #68: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_1 ................................................. Passed 0.09 sec Start 69: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_2 69/3476 Test #69: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_2 ................................................. Passed 0.10 sec Start 70: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_3 70/3476 Test #70: CAPIModelEditingTests.SET_TRIGGER_INITIAL_VALUE_3 ................................................. Passed 0.09 sec Start 71: CAPIModelEditingTests.FROM_SCRATCH_1 71/3476 Test #71: CAPIModelEditingTests.FROM_SCRATCH_1 .............................................................. Passed 0.16 sec Start 72: CAPIModelEditingTests.FROM_SCRATCH_2 72/3476 Test #72: CAPIModelEditingTests.FROM_SCRATCH_2 .............................................................. Passed 0.22 sec Start 73: CAPIModelEditingTests.FROM_SCRATCH_3 73/3476 Test #73: CAPIModelEditingTests.FROM_SCRATCH_3 .............................................................. Passed 0.08 sec Start 74: CAPIModelEditingTests.FROM_SCRATCH_4 74/3476 Test #74: CAPIModelEditingTests.FROM_SCRATCH_4 .............................................................. Passed 0.06 sec Start 75: CAPIModelEditingTests.FROM_SCRATCH_5 75/3476 Test #75: CAPIModelEditingTests.FROM_SCRATCH_5 .............................................................. Passed 0.22 sec Start 76: CAPIModelEditingTests.FROM_SCRATCH_6 76/3476 Test #76: CAPIModelEditingTests.FROM_SCRATCH_6 .............................................................. Passed 0.29 sec Start 77: CAPIModelEditingTests.FROM_SCRATCH_7 77/3476 Test #77: CAPIModelEditingTests.FROM_SCRATCH_7 .............................................................. Passed 0.12 sec Start 78: LibstructTests.testLibStructTestsDataFiles 78/3476 Test #78: LibstructTests.testLibStructTestsDataFiles ........................................................ Passed 0.07 sec Start 79: LibstructTests.getLinkMatrix 79/3476 Test #79: LibstructTests.getLinkMatrix ...................................................................... Passed 0.02 sec Start 80: LibstructTests.getEigenValuesMatrix 80/3476 Test #80: LibstructTests.getEigenValuesMatrix ............................................................... Passed 0.02 sec Start 81: LibstructTests.getEigenValuesVector 81/3476 Test #81: LibstructTests.getEigenValuesVector ............................................................... Passed 0.02 sec Start 82: CAPICoreTest.VERSION 82/3476 Test #82: CAPICoreTest.VERSION .............................................................................. Passed 0.02 sec Start 83: CAPICoreTest.LOGGING 83/3476 Test #83: CAPICoreTest.LOGGING .............................................................................. Passed 0.02 sec Start 84: CAPICoreTest.ReloadingModelModelRecompilation 84/3476 Test #84: CAPICoreTest.ReloadingModelModelRecompilation ..................................................... Passed 0.11 sec Start 85: CAPICoreTest.ReloadingModelNoModelRecompilation 85/3476 Test #85: CAPICoreTest.ReloadingModelNoModelRecompilation ................................................... Passed 0.11 sec Start 86: CAPICoreTest.LoadingModelMultipleInstances 86/3476 Test #86: CAPICoreTest.LoadingModelMultipleInstances ........................................................ Passed 0.16 sec Start 87: CAPICoreTest.ParsingModelXML 87/3476 Test #87: CAPICoreTest.ParsingModelXML ...................................................................... Passed 0.03 sec Start 88: CAPICoreTest.GeneratingModelHash 88/3476 Test #88: CAPICoreTest.GeneratingModelHash .................................................................. Passed 0.02 sec Start 89: CAPICoreTest.LoadModelFromString 89/3476 Test #89: CAPICoreTest.LoadModelFromString .................................................................. Passed 0.15 sec Start 90: CAPICoreTest.SimulateTimes 90/3476 Test #90: CAPICoreTest.SimulateTimes ........................................................................ Passed 0.07 sec Start 91: CAPICoreTest.GetMicroSeconds 91/3476 Test #91: CAPICoreTest.GetMicroSeconds ...................................................................... Passed 0.15 sec Start 92: CAPICoreTest.CheckRegisteredIntegrators 92/3476 Test #92: CAPICoreTest.CheckRegisteredIntegrators ........................................................... Passed 0.02 sec Start 93: CAPICoreTest.CheckRK4WorksFromC 93/3476 Test #93: CAPICoreTest.CheckRK4WorksFromC ................................................................... Passed 0.07 sec Start 94: CAPICoreTest.SetAndGetMDiffStepSize 94/3476 Test #94: CAPICoreTest.SetAndGetMDiffStepSize ............................................................... Passed 0.07 sec Start 95: CAPICoreTest.CheckGetCC 95/3476 Test #95: CAPICoreTest.CheckGetCC ........................................................................... Passed 7.04 sec Start 96: CAPICoreTest.CheckGetEC 96/3476 Test #96: CAPICoreTest.CheckGetEC ........................................................................... Passed 0.05 sec Start 97: CAPICoreTest.CheckGetUEC 97/3476 Test #97: CAPICoreTest.CheckGetUEC .......................................................................... Passed 0.05 sec Start 98: CAPICoreTest.CheckGetFluxControlCoefficientIds 98/3476 Test #98: CAPICoreTest.CheckGetFluxControlCoefficientIds .................................................... Passed 0.05 sec Start 99: CAPICoreTest.CheckGetUnscaledFluxControlCoefficientIds 99/3476 Test #99: CAPICoreTest.CheckGetUnscaledFluxControlCoefficientIds ............................................ Passed 0.05 sec Start 100: CAPICoreTest.CheckGetConcentrationControlCoefficientIds 100/3476 Test #100: CAPICoreTest.CheckGetConcentrationControlCoefficientIds ........................................... Passed 0.05 sec Start 101: CAPICoreTest.CheckGetUnscaledConcentrationControlCoefficientIds 101/3476 Test #101: CAPICoreTest.CheckGetUnscaledConcentrationControlCoefficientIds ................................... Passed 0.05 sec Start 102: CAPICoreTest.CheckSetTimeCourseSelectionListEx 102/3476 Test #102: CAPICoreTest.CheckSetTimeCourseSelectionListEx .................................................... Passed 0.05 sec Start 103: CAPICoreTest.CheckSetSteadyStateSelectionListEx 103/3476 Test #103: CAPICoreTest.CheckSetSteadyStateSelectionListEx ................................................... Passed 0.11 sec Start 104: CAPICoreTest.CheckGetStoichiometryMatrix 104/3476 Test #104: CAPICoreTest.CheckGetStoichiometryMatrix .......................................................... Passed 0.05 sec Start 105: CAPICoreTest.CheckRatesOfChangeFunctions 105/3476 Test #105: CAPICoreTest.CheckRatesOfChangeFunctions .......................................................... Passed 0.08 sec Start 106: CAPICoreTest.CheckGetIndependentAndDependentFloatingSpecies_conserved 106/3476 Test #106: CAPICoreTest.CheckGetIndependentAndDependentFloatingSpecies_conserved ............................. Passed 0.08 sec Start 107: CAPICoreTest.CheckGetIndependentAndDependentFloatingSpecies_nonconserved 107/3476 Test #107: CAPICoreTest.CheckGetIndependentAndDependentFloatingSpecies_nonconserved .......................... Passed 0.05 sec Start 108: CAPIExceptions.DATA_FILES 108/3476 Test #108: CAPIExceptions.DATA_FILES ......................................................................... Passed 0.02 sec Start 109: CAPIExceptions.LOAD_SBML 109/3476 Test #109: CAPIExceptions.LOAD_SBML .......................................................................... Passed 0.06 sec Start 110: CAPIExceptions.SET_COMPUTE_AND_ASSIGN_CONSERVATION_LAWS 110/3476 Test #110: CAPIExceptions.SET_COMPUTE_AND_ASSIGN_CONSERVATION_LAWS ........................................... Passed 0.11 sec Start 111: LLVMModelDataSymbolTests.ModelName 111/3476 Test #111: LLVMModelDataSymbolTests.ModelName ................................................................ Passed 0.02 sec Start 112: MCJitTests.ModuleNonOwningNotNull 112/3476 Test #112: MCJitTests.ModuleNonOwningNotNull ................................................................. Passed 0.02 sec Start 113: MCJitTests.ContextNonOwningNotNull 113/3476 Test #113: MCJitTests.ContextNonOwningNotNull ................................................................ Passed 0.02 sec Start 114: MCJitTests.BuilderNonOwningNotNull 114/3476 Test #114: MCJitTests.BuilderNonOwningNotNull ................................................................ Passed 0.02 sec Start 115: MCJitTests.CreateJittedFibonacci 115/3476 Test #115: MCJitTests.CreateJittedFibonacci .................................................................. Passed 0.03 sec Start 116: MCJitTests.LoadPowerFunction 116/3476 Test #116: MCJitTests.LoadPowerFunction ...................................................................... Passed 0.02 sec Start 117: MCJitTests.LoadQuotientFunction 117/3476 Test #117: MCJitTests.LoadQuotientFunction ................................................................... Passed 0.02 sec Start 118: MCJitTests.CheckModelSimulates 118/3476 Test #118: MCJitTests.CheckModelSimulates .................................................................... Passed 0.06 sec Start 119: LLJitTests.ModuleNonOwningNotNull 119/3476 Test #119: LLJitTests.ModuleNonOwningNotNull ................................................................. Passed 0.05 sec Start 120: LLJitTests.ContextNonOwningNotNull 120/3476 Test #120: LLJitTests.ContextNonOwningNotNull ................................................................ Passed 0.02 sec Start 121: LLJitTests.BuilderNonOwningNotNull 121/3476 Test #121: LLJitTests.BuilderNonOwningNotNull ................................................................ Passed 0.02 sec Start 122: LLJitTests.CreateJittedFibonacci 122/3476 Test #122: LLJitTests.CreateJittedFibonacci .................................................................. Passed 0.10 sec Start 123: LLJitTests.FibonacciCached 123/3476 Test #123: LLJitTests.FibonacciCached ........................................................................ Passed 0.02 sec Start 124: LLJitTests.LoadPowerFunction 124/3476 Test #124: LLJitTests.LoadPowerFunction ...................................................................... Passed 0.02 sec Start 125: LLJitTests.LoadQuotientFunction 125/3476 Test #125: LLJitTests.LoadQuotientFunction ................................................................... Passed 0.02 sec Start 126: LLJitTests.Loadrr_minFunction 126/3476 Test #126: LLJitTests.Loadrr_minFunction ..................................................................... Passed 0.02 sec Start 127: LLJitTests.Loadrr_csr_matrix_get_nzFunction 127/3476 Test #127: LLJitTests.Loadrr_csr_matrix_get_nzFunction ....................................................... Passed 0.02 sec Start 128: LLJitTests.SetModuleIdentifier 128/3476 Test #128: LLJitTests.SetModuleIdentifier .................................................................... Passed 0.02 sec Start 129: LLJitTests.CheckModelSimulates 129/3476 Test #129: LLJitTests.CheckModelSimulates .................................................................... Passed 0.03 sec Start 130: LLJitTests.GetObjectFromCacheUsingOriginalString 130/3476 Test #130: LLJitTests.GetObjectFromCacheUsingOriginalString .................................................. Passed 0.03 sec Start 131: LLJitTests.GetObjectFromCacheUsingRoadRunnerMethods 131/3476 Test #131: LLJitTests.GetObjectFromCacheUsingRoadRunnerMethods ...............................................***Not Run (Disabled) 0.00 sec Start 132: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncPow 132/3476 Test #132: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncPow ................................................ Passed 0.02 sec Start 133: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFabs 133/3476 Test #133: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFabs ............................................... Passed 0.02 sec Start 134: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAcos 134/3476 Test #134: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAcos ............................................... Passed 0.02 sec Start 135: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAsin 135/3476 Test #135: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAsin ............................................... Passed 0.02 sec Start 136: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAtan 136/3476 Test #136: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncAtan ............................................... Passed 0.02 sec Start 137: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCeil 137/3476 Test #137: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCeil ............................................... Passed 0.02 sec Start 138: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCos 138/3476 Test #138: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCos ................................................ Passed 0.02 sec Start 139: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCosh 139/3476 Test #139: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncCosh ............................................... Passed 0.02 sec Start 140: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncExp 140/3476 Test #140: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncExp ................................................ Passed 0.02 sec Start 141: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFloor 141/3476 Test #141: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFloor .............................................. Passed 0.02 sec Start 142: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog 142/3476 Test #142: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog ................................................ Passed 0.02 sec Start 143: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog10 143/3476 Test #143: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog10 .............................................. Passed 0.02 sec Start 144: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncSin 144/3476 Test #144: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncSin ................................................ Passed 0.02 sec Start 145: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncSinh 145/3476 Test #145: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncSinh ............................................... Passed 0.02 sec Start 146: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncTan 146/3476 Test #146: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncTan ................................................ Passed 0.02 sec Start 147: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncTanh 147/3476 Test #147: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncTanh ............................................... Passed 0.02 sec Start 148: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFmod 148/3476 Test #148: MCJitMapFunctionsToJitSymbolsTests.CheckLibFuncFmod ............................................... Passed 0.02 sec Start 149: MCJitMapFunctionsToJitSymbolsTests.Check_arccotFnTy 149/3476 Test #149: MCJitMapFunctionsToJitSymbolsTests.Check_arccotFnTy ............................................... Passed 0.02 sec Start 150: MCJitMapFunctionsToJitSymbolsTests.Check_rr_arccot_negzeroFnTy 150/3476 Test #150: MCJitMapFunctionsToJitSymbolsTests.Check_rr_arccot_negzeroFnTy .................................... Passed 0.02 sec Start 151: MCJitMapFunctionsToJitSymbolsTests.Check_arccothFnTy 151/3476 Test #151: MCJitMapFunctionsToJitSymbolsTests.Check_arccothFnTy .............................................. Passed 0.02 sec Start 152: MCJitMapFunctionsToJitSymbolsTests.Check_arccscFnTy 152/3476 Test #152: MCJitMapFunctionsToJitSymbolsTests.Check_arccscFnTy ............................................... Passed 0.02 sec Start 153: MCJitMapFunctionsToJitSymbolsTests.Check_arccschFnTy 153/3476 Test #153: MCJitMapFunctionsToJitSymbolsTests.Check_arccschFnTy .............................................. Passed 0.02 sec Start 154: MCJitMapFunctionsToJitSymbolsTests.Check_arcsecFnTy 154/3476 Test #154: MCJitMapFunctionsToJitSymbolsTests.Check_arcsecFnTy ............................................... Passed 0.02 sec Start 155: MCJitMapFunctionsToJitSymbolsTests.Check_arcsechFnTy 155/3476 Test #155: MCJitMapFunctionsToJitSymbolsTests.Check_arcsechFnTy .............................................. Passed 0.02 sec Start 156: MCJitMapFunctionsToJitSymbolsTests.Check_cotFnTy 156/3476 Test #156: MCJitMapFunctionsToJitSymbolsTests.Check_cotFnTy .................................................. Passed 0.02 sec Start 157: MCJitMapFunctionsToJitSymbolsTests.Check_cothFnTy 157/3476 Test #157: MCJitMapFunctionsToJitSymbolsTests.Check_cothFnTy ................................................. Passed 0.02 sec Start 158: MCJitMapFunctionsToJitSymbolsTests.Check_cscFnTy 158/3476 Test #158: MCJitMapFunctionsToJitSymbolsTests.Check_cscFnTy .................................................. Passed 0.02 sec Start 159: MCJitMapFunctionsToJitSymbolsTests.Check_cschFnTy 159/3476 Test #159: MCJitMapFunctionsToJitSymbolsTests.Check_cschFnTy ................................................. Passed 0.02 sec Start 160: MCJitMapFunctionsToJitSymbolsTests.Check_rr_factorialiFnTy 160/3476 Test #160: MCJitMapFunctionsToJitSymbolsTests.Check_rr_factorialiFnTy ........................................ Passed 0.02 sec Start 161: MCJitMapFunctionsToJitSymbolsTests.Check_rr_factorialdFnTy 161/3476 Test #161: MCJitMapFunctionsToJitSymbolsTests.Check_rr_factorialdFnTy ........................................ Passed 0.02 sec Start 162: MCJitMapFunctionsToJitSymbolsTests.Check_rr_logdFnTy 162/3476 Test #162: MCJitMapFunctionsToJitSymbolsTests.Check_rr_logdFnTy .............................................. Passed 0.02 sec Start 163: MCJitMapFunctionsToJitSymbolsTests.Check_rr_rootdFnTy 163/3476 Test #163: MCJitMapFunctionsToJitSymbolsTests.Check_rr_rootdFnTy ............................................. Passed 0.02 sec Start 164: MCJitMapFunctionsToJitSymbolsTests.Check_secFnTy 164/3476 Test #164: MCJitMapFunctionsToJitSymbolsTests.Check_secFnTy .................................................. Passed 0.01 sec Start 165: MCJitMapFunctionsToJitSymbolsTests.Check_sechFnTy 165/3476 Test #165: MCJitMapFunctionsToJitSymbolsTests.Check_sechFnTy ................................................. Passed 0.02 sec Start 166: MCJitMapFunctionsToJitSymbolsTests.Check_arccoshFnTy 166/3476 Test #166: MCJitMapFunctionsToJitSymbolsTests.Check_arccoshFnTy .............................................. Passed 0.02 sec Start 167: MCJitMapFunctionsToJitSymbolsTests.Check_arcsinhFnTy 167/3476 Test #167: MCJitMapFunctionsToJitSymbolsTests.Check_arcsinhFnTy .............................................. Passed 0.01 sec Start 168: MCJitMapFunctionsToJitSymbolsTests.Check_arctanhFnTy 168/3476 Test #168: MCJitMapFunctionsToJitSymbolsTests.Check_arctanhFnTy .............................................. Passed 0.02 sec Start 169: MCJitMapFunctionsToJitSymbolsTests.Check_quotientFnTy 169/3476 Test #169: MCJitMapFunctionsToJitSymbolsTests.Check_quotientFnTy ............................................. Passed 0.02 sec Start 170: MCJitMapFunctionsToJitSymbolsTests.Check_rr_maxFnTy 170/3476 Test #170: MCJitMapFunctionsToJitSymbolsTests.Check_rr_maxFnTy ............................................... Passed 0.01 sec Start 171: MCJitMapFunctionsToJitSymbolsTests.Check_rr_minFnTy 171/3476 Test #171: MCJitMapFunctionsToJitSymbolsTests.Check_rr_minFnTy ............................................... Passed 0.02 sec Start 172: MCJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_get_nz 172/3476 Test #172: MCJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_get_nz ..................................... Passed 0.02 sec Start 173: MCJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_set_nz 173/3476 Test #173: MCJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_set_nz ..................................... Passed 0.01 sec Start 174: MCJitMapFunctionsToJitSymbolsTests.check_pow_ViaModule 174/3476 Test #174: MCJitMapFunctionsToJitSymbolsTests.check_pow_ViaModule ............................................ Passed 0.01 sec Start 175: MCJitMapFunctionsToJitSymbolsTests.check_fabs_ViaModule 175/3476 Test #175: MCJitMapFunctionsToJitSymbolsTests.check_fabs_ViaModule ........................................... Passed 0.02 sec Start 176: MCJitMapFunctionsToJitSymbolsTests.check_acos_ViaModule 176/3476 Test #176: MCJitMapFunctionsToJitSymbolsTests.check_acos_ViaModule ........................................... Passed 0.02 sec Start 177: MCJitMapFunctionsToJitSymbolsTests.check_asin_ViaModule 177/3476 Test #177: MCJitMapFunctionsToJitSymbolsTests.check_asin_ViaModule ........................................... Passed 0.02 sec Start 178: MCJitMapFunctionsToJitSymbolsTests.check_atan_ViaModule 178/3476 Test #178: MCJitMapFunctionsToJitSymbolsTests.check_atan_ViaModule ........................................... Passed 0.02 sec Start 179: MCJitMapFunctionsToJitSymbolsTests.check_ceil_ViaModule 179/3476 Test #179: MCJitMapFunctionsToJitSymbolsTests.check_ceil_ViaModule ........................................... Passed 0.01 sec Start 180: MCJitMapFunctionsToJitSymbolsTests.check_cos_ViaModule 180/3476 Test #180: MCJitMapFunctionsToJitSymbolsTests.check_cos_ViaModule ............................................ Passed 0.02 sec Start 181: MCJitMapFunctionsToJitSymbolsTests.check_cosh_ViaModule 181/3476 Test #181: MCJitMapFunctionsToJitSymbolsTests.check_cosh_ViaModule ........................................... Passed 0.02 sec Start 182: MCJitMapFunctionsToJitSymbolsTests.check_exp_ViaModule 182/3476 Test #182: MCJitMapFunctionsToJitSymbolsTests.check_exp_ViaModule ............................................ Passed 0.02 sec Start 183: MCJitMapFunctionsToJitSymbolsTests.check_floor_ViaModule 183/3476 Test #183: MCJitMapFunctionsToJitSymbolsTests.check_floor_ViaModule .......................................... Passed 0.02 sec Start 184: MCJitMapFunctionsToJitSymbolsTests.check_log_ViaModule 184/3476 Test #184: MCJitMapFunctionsToJitSymbolsTests.check_log_ViaModule ............................................ Passed 0.02 sec Start 185: MCJitMapFunctionsToJitSymbolsTests.check_log10_ViaModule 185/3476 Test #185: MCJitMapFunctionsToJitSymbolsTests.check_log10_ViaModule .......................................... Passed 0.02 sec Start 186: MCJitMapFunctionsToJitSymbolsTests.check_sin_ViaModule 186/3476 Test #186: MCJitMapFunctionsToJitSymbolsTests.check_sin_ViaModule ............................................ Passed 0.02 sec Start 187: MCJitMapFunctionsToJitSymbolsTests.check_sinh_ViaModule 187/3476 Test #187: MCJitMapFunctionsToJitSymbolsTests.check_sinh_ViaModule ........................................... Passed 0.02 sec Start 188: MCJitMapFunctionsToJitSymbolsTests.check_tan_ViaModule 188/3476 Test #188: MCJitMapFunctionsToJitSymbolsTests.check_tan_ViaModule ............................................ Passed 0.02 sec Start 189: MCJitMapFunctionsToJitSymbolsTests.check_tanh_ViaModule 189/3476 Test #189: MCJitMapFunctionsToJitSymbolsTests.check_tanh_ViaModule ........................................... Passed 0.02 sec Start 190: MCJitMapFunctionsToJitSymbolsTests.check_fmod_ViaModule 190/3476 Test #190: MCJitMapFunctionsToJitSymbolsTests.check_fmod_ViaModule ........................................... Passed 0.02 sec Start 191: MCJitMapFunctionsToJitSymbolsTests.check_arccot_ViaModule 191/3476 Test #191: MCJitMapFunctionsToJitSymbolsTests.check_arccot_ViaModule ......................................... Passed 0.02 sec Start 192: MCJitMapFunctionsToJitSymbolsTests.check_rr_arccot_negzero_ViaModule 192/3476 Test #192: MCJitMapFunctionsToJitSymbolsTests.check_rr_arccot_negzero_ViaModule .............................. Passed 0.02 sec Start 193: MCJitMapFunctionsToJitSymbolsTests.check_arccoth_ViaModule 193/3476 Test #193: MCJitMapFunctionsToJitSymbolsTests.check_arccoth_ViaModule ........................................ Passed 0.02 sec Start 194: MCJitMapFunctionsToJitSymbolsTests.check_arccsc_ViaModule 194/3476 Test #194: MCJitMapFunctionsToJitSymbolsTests.check_arccsc_ViaModule ......................................... Passed 0.02 sec Start 195: MCJitMapFunctionsToJitSymbolsTests.check_arccsch_ViaModule 195/3476 Test #195: MCJitMapFunctionsToJitSymbolsTests.check_arccsch_ViaModule ........................................ Passed 0.02 sec Start 196: MCJitMapFunctionsToJitSymbolsTests.check_arcsec_ViaModule 196/3476 Test #196: MCJitMapFunctionsToJitSymbolsTests.check_arcsec_ViaModule ......................................... Passed 0.02 sec Start 197: MCJitMapFunctionsToJitSymbolsTests.check_arcsech_ViaModule 197/3476 Test #197: MCJitMapFunctionsToJitSymbolsTests.check_arcsech_ViaModule ........................................ Passed 0.02 sec Start 198: MCJitMapFunctionsToJitSymbolsTests.check_cot_ViaModule 198/3476 Test #198: MCJitMapFunctionsToJitSymbolsTests.check_cot_ViaModule ............................................ Passed 0.02 sec Start 199: MCJitMapFunctionsToJitSymbolsTests.check_coth_ViaModule 199/3476 Test #199: MCJitMapFunctionsToJitSymbolsTests.check_coth_ViaModule ........................................... Passed 0.02 sec Start 200: MCJitMapFunctionsToJitSymbolsTests.check_csc_ViaModule 200/3476 Test #200: MCJitMapFunctionsToJitSymbolsTests.check_csc_ViaModule ............................................ Passed 0.02 sec Start 201: MCJitMapFunctionsToJitSymbolsTests.check_csch_ViaModule 201/3476 Test #201: MCJitMapFunctionsToJitSymbolsTests.check_csch_ViaModule ........................................... Passed 0.02 sec Start 202: MCJitMapFunctionsToJitSymbolsTests.check_rr_factoriali_ViaModule 202/3476 Test #202: MCJitMapFunctionsToJitSymbolsTests.check_rr_factoriali_ViaModule .................................. Passed 0.02 sec Start 203: MCJitMapFunctionsToJitSymbolsTests.check_rr_factoriald_ViaModule 203/3476 Test #203: MCJitMapFunctionsToJitSymbolsTests.check_rr_factoriald_ViaModule .................................. Passed 0.02 sec Start 204: MCJitMapFunctionsToJitSymbolsTests.check_rr_logd_ViaModule 204/3476 Test #204: MCJitMapFunctionsToJitSymbolsTests.check_rr_logd_ViaModule ........................................ Passed 0.01 sec Start 205: MCJitMapFunctionsToJitSymbolsTests.check_rr_rootd_ViaModule 205/3476 Test #205: MCJitMapFunctionsToJitSymbolsTests.check_rr_rootd_ViaModule ....................................... Passed 0.02 sec Start 206: MCJitMapFunctionsToJitSymbolsTests.check_sec_ViaModule 206/3476 Test #206: MCJitMapFunctionsToJitSymbolsTests.check_sec_ViaModule ............................................ Passed 0.02 sec Start 207: MCJitMapFunctionsToJitSymbolsTests.check_sech_ViaModule 207/3476 Test #207: MCJitMapFunctionsToJitSymbolsTests.check_sech_ViaModule ........................................... Passed 0.02 sec Start 208: MCJitMapFunctionsToJitSymbolsTests.check_arccosh_ViaModule 208/3476 Test #208: MCJitMapFunctionsToJitSymbolsTests.check_arccosh_ViaModule ........................................ Passed 0.02 sec Start 209: MCJitMapFunctionsToJitSymbolsTests.check_arcsinh_ViaModule 209/3476 Test #209: MCJitMapFunctionsToJitSymbolsTests.check_arcsinh_ViaModule ........................................ Passed 0.02 sec Start 210: MCJitMapFunctionsToJitSymbolsTests.check_arctanh_ViaModule 210/3476 Test #210: MCJitMapFunctionsToJitSymbolsTests.check_arctanh_ViaModule ........................................ Passed 0.02 sec Start 211: MCJitMapFunctionsToJitSymbolsTests.check_quotient_ViaModule 211/3476 Test #211: MCJitMapFunctionsToJitSymbolsTests.check_quotient_ViaModule ....................................... Passed 0.02 sec Start 212: MCJitMapFunctionsToJitSymbolsTests.check_rr_max_ViaModule 212/3476 Test #212: MCJitMapFunctionsToJitSymbolsTests.check_rr_max_ViaModule ......................................... Passed 0.02 sec Start 213: MCJitMapFunctionsToJitSymbolsTests.check_rr_min_ViaModule 213/3476 Test #213: MCJitMapFunctionsToJitSymbolsTests.check_rr_min_ViaModule ......................................... Passed 0.02 sec Start 214: MCJitMapFunctionsToJitSymbolsTests.check_csr_matrix_get_nz_ViaModule 214/3476 Test #214: MCJitMapFunctionsToJitSymbolsTests.check_csr_matrix_get_nz_ViaModule .............................. Passed 0.02 sec Start 215: MCJitMapFunctionsToJitSymbolsTests.check_csr_matrix_set_nz_ViaModule 215/3476 Test #215: MCJitMapFunctionsToJitSymbolsTests.check_csr_matrix_set_nz_ViaModule .............................. Passed 0.02 sec Start 216: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_uniform_LoadsFromModule 216/3476 Test #216: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_uniform_LoadsFromModule ....................... Passed 0.02 sec Start 217: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_LoadsFromModule 217/3476 Test #217: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_LoadsFromModule ........................ Passed 0.02 sec Start 218: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_four_LoadsFromModule 218/3476 Test #218: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_four_LoadsFromModule ................... Passed 0.02 sec Start 219: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_bernoulli_LoadsFromModule 219/3476 Test #219: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_bernoulli_LoadsFromModule ..................... Passed 0.02 sec Start 220: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_LoadsFromModule 220/3476 Test #220: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_LoadsFromModule ...................... Passed 0.02 sec Start 221: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_four_LoadsFromModule 221/3476 Test #221: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_four_LoadsFromModule ................. Passed 0.02 sec Start 222: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_LoadsFromModule 222/3476 Test #222: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_LoadsFromModule ........................ Passed 0.02 sec Start 223: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_one_LoadsFromModule 223/3476 Test #223: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_one_LoadsFromModule .................... Passed 0.02 sec Start 224: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_four_LoadsFromModule 224/3476 Test #224: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_four_LoadsFromModule ................... Passed 0.02 sec Start 225: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_LoadsFromModule 225/3476 Test #225: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_LoadsFromModule ..................... Passed 0.02 sec Start 226: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_three_LoadsFromModule 226/3476 Test #226: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_three_LoadsFromModule ............... Passed 0.02 sec Start 227: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_LoadsFromModule 227/3476 Test #227: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_LoadsFromModule ................... Passed 0.02 sec Start 228: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_three_LoadsFromModule 228/3476 Test #228: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_three_LoadsFromModule ............. Passed 0.02 sec Start 229: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_LoadsFromModule 229/3476 Test #229: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_LoadsFromModule ......................... Passed 0.02 sec Start 230: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_four_LoadsFromModule 230/3476 Test #230: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_four_LoadsFromModule .................... Passed 0.02 sec Start 231: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_LoadsFromModule 231/3476 Test #231: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_LoadsFromModule ....................... Passed 0.02 sec Start 232: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_one_LoadsFromModule 232/3476 Test #232: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_one_LoadsFromModule ................... Passed 0.02 sec Start 233: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_four_LoadsFromModule 233/3476 Test #233: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_four_LoadsFromModule .................. Passed 0.02 sec Start 234: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_LoadsFromModule 234/3476 Test #234: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_LoadsFromModule ..................... Passed 0.02 sec Start 235: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_four_LoadsFromModule 235/3476 Test #235: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_four_LoadsFromModule ................ Passed 0.02 sec Start 236: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_LoadsFromModule 236/3476 Test #236: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_LoadsFromModule ....................... Passed 0.02 sec Start 237: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_three_LoadsFromModule 237/3476 Test #237: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_three_LoadsFromModule ................. Passed 0.02 sec Start 238: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_LoadsFromModule 238/3476 Test #238: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_LoadsFromModule ...................... Passed 0.02 sec Start 239: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_three_LoadsFromModule 239/3476 Test #239: MCJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_three_LoadsFromModule ................ Passed 0.02 sec Start 240: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncPow 240/3476 Test #240: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncPow ................................................ Passed 0.02 sec Start 241: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFabs 241/3476 Test #241: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFabs ............................................... Passed 0.02 sec Start 242: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAcos 242/3476 Test #242: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAcos ............................................... Passed 0.02 sec Start 243: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAsin 243/3476 Test #243: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAsin ............................................... Passed 0.02 sec Start 244: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAtan 244/3476 Test #244: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncAtan ............................................... Passed 0.02 sec Start 245: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCeil 245/3476 Test #245: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCeil ............................................... Passed 0.02 sec Start 246: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCos 246/3476 Test #246: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCos ................................................ Passed 0.02 sec Start 247: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCosh 247/3476 Test #247: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncCosh ............................................... Passed 0.02 sec Start 248: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncExp 248/3476 Test #248: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncExp ................................................ Passed 0.02 sec Start 249: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFloor 249/3476 Test #249: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFloor .............................................. Passed 0.02 sec Start 250: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog 250/3476 Test #250: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog ................................................ Passed 0.02 sec Start 251: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog10 251/3476 Test #251: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncLog10 .............................................. Passed 0.02 sec Start 252: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncSin 252/3476 Test #252: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncSin ................................................ Passed 0.02 sec Start 253: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncSinh 253/3476 Test #253: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncSinh ............................................... Passed 0.02 sec Start 254: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncTan 254/3476 Test #254: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncTan ................................................ Passed 0.02 sec Start 255: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncTanh 255/3476 Test #255: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncTanh ............................................... Passed 0.02 sec Start 256: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFmod 256/3476 Test #256: LLJitMapFunctionsToJitSymbolsTests.CheckLibFuncFmod ............................................... Passed 0.02 sec Start 257: LLJitMapFunctionsToJitSymbolsTests.Check_arccotFnTy 257/3476 Test #257: LLJitMapFunctionsToJitSymbolsTests.Check_arccotFnTy ............................................... Passed 0.02 sec Start 258: LLJitMapFunctionsToJitSymbolsTests.Check_rr_arccot_negzeroFnTy 258/3476 Test #258: LLJitMapFunctionsToJitSymbolsTests.Check_rr_arccot_negzeroFnTy .................................... Passed 0.02 sec Start 259: LLJitMapFunctionsToJitSymbolsTests.Check_arccothFnTy 259/3476 Test #259: LLJitMapFunctionsToJitSymbolsTests.Check_arccothFnTy .............................................. Passed 0.02 sec Start 260: LLJitMapFunctionsToJitSymbolsTests.Check_arccscFnTy 260/3476 Test #260: LLJitMapFunctionsToJitSymbolsTests.Check_arccscFnTy ............................................... Passed 0.02 sec Start 261: LLJitMapFunctionsToJitSymbolsTests.Check_arccschFnTy 261/3476 Test #261: LLJitMapFunctionsToJitSymbolsTests.Check_arccschFnTy .............................................. Passed 0.02 sec Start 262: LLJitMapFunctionsToJitSymbolsTests.Check_arcsecFnTy 262/3476 Test #262: LLJitMapFunctionsToJitSymbolsTests.Check_arcsecFnTy ............................................... Passed 0.02 sec Start 263: LLJitMapFunctionsToJitSymbolsTests.Check_arcsechFnTy 263/3476 Test #263: LLJitMapFunctionsToJitSymbolsTests.Check_arcsechFnTy .............................................. Passed 0.02 sec Start 264: LLJitMapFunctionsToJitSymbolsTests.Check_cotFnTy 264/3476 Test #264: LLJitMapFunctionsToJitSymbolsTests.Check_cotFnTy .................................................. Passed 0.02 sec Start 265: LLJitMapFunctionsToJitSymbolsTests.Check_cothFnTy 265/3476 Test #265: LLJitMapFunctionsToJitSymbolsTests.Check_cothFnTy ................................................. Passed 0.02 sec Start 266: LLJitMapFunctionsToJitSymbolsTests.Check_cscFnTy 266/3476 Test #266: LLJitMapFunctionsToJitSymbolsTests.Check_cscFnTy .................................................. Passed 0.02 sec Start 267: LLJitMapFunctionsToJitSymbolsTests.Check_cschFnTy 267/3476 Test #267: LLJitMapFunctionsToJitSymbolsTests.Check_cschFnTy ................................................. Passed 0.02 sec Start 268: LLJitMapFunctionsToJitSymbolsTests.Check_rr_factorialiFnTy 268/3476 Test #268: LLJitMapFunctionsToJitSymbolsTests.Check_rr_factorialiFnTy ........................................ Passed 0.02 sec Start 269: LLJitMapFunctionsToJitSymbolsTests.Check_rr_factorialdFnTy 269/3476 Test #269: LLJitMapFunctionsToJitSymbolsTests.Check_rr_factorialdFnTy ........................................ Passed 0.02 sec Start 270: LLJitMapFunctionsToJitSymbolsTests.Check_rr_logdFnTy 270/3476 Test #270: LLJitMapFunctionsToJitSymbolsTests.Check_rr_logdFnTy .............................................. Passed 0.02 sec Start 271: LLJitMapFunctionsToJitSymbolsTests.Check_rr_rootdFnTy 271/3476 Test #271: LLJitMapFunctionsToJitSymbolsTests.Check_rr_rootdFnTy ............................................. Passed 0.02 sec Start 272: LLJitMapFunctionsToJitSymbolsTests.Check_secFnTy 272/3476 Test #272: LLJitMapFunctionsToJitSymbolsTests.Check_secFnTy .................................................. Passed 0.02 sec Start 273: LLJitMapFunctionsToJitSymbolsTests.Check_sechFnTy 273/3476 Test #273: LLJitMapFunctionsToJitSymbolsTests.Check_sechFnTy ................................................. Passed 0.02 sec Start 274: LLJitMapFunctionsToJitSymbolsTests.Check_arccoshFnTy 274/3476 Test #274: LLJitMapFunctionsToJitSymbolsTests.Check_arccoshFnTy .............................................. Passed 0.02 sec Start 275: LLJitMapFunctionsToJitSymbolsTests.Check_arcsinhFnTy 275/3476 Test #275: LLJitMapFunctionsToJitSymbolsTests.Check_arcsinhFnTy .............................................. Passed 0.02 sec Start 276: LLJitMapFunctionsToJitSymbolsTests.Check_arctanhFnTy 276/3476 Test #276: LLJitMapFunctionsToJitSymbolsTests.Check_arctanhFnTy .............................................. Passed 0.02 sec Start 277: LLJitMapFunctionsToJitSymbolsTests.Check_quotientFnTy 277/3476 Test #277: LLJitMapFunctionsToJitSymbolsTests.Check_quotientFnTy ............................................. Passed 0.02 sec Start 278: LLJitMapFunctionsToJitSymbolsTests.Check_rr_maxFnTy 278/3476 Test #278: LLJitMapFunctionsToJitSymbolsTests.Check_rr_maxFnTy ............................................... Passed 0.02 sec Start 279: LLJitMapFunctionsToJitSymbolsTests.Check_rr_minFnTy 279/3476 Test #279: LLJitMapFunctionsToJitSymbolsTests.Check_rr_minFnTy ............................................... Passed 0.02 sec Start 280: LLJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_get_nz 280/3476 Test #280: LLJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_get_nz ..................................... Passed 0.02 sec Start 281: LLJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_set_nz 281/3476 Test #281: LLJitMapFunctionsToJitSymbolsTests.Check_rr_csr_matrix_set_nz ..................................... Passed 0.02 sec Start 282: LLJitMapFunctionsToJitSymbolsTests.check_pow_ViaModule 282/3476 Test #282: LLJitMapFunctionsToJitSymbolsTests.check_pow_ViaModule ............................................ Passed 0.02 sec Start 283: LLJitMapFunctionsToJitSymbolsTests.check_fabs_ViaModule 283/3476 Test #283: LLJitMapFunctionsToJitSymbolsTests.check_fabs_ViaModule ........................................... Passed 0.02 sec Start 284: LLJitMapFunctionsToJitSymbolsTests.check_acos_ViaModule 284/3476 Test #284: LLJitMapFunctionsToJitSymbolsTests.check_acos_ViaModule ........................................... Passed 0.02 sec Start 285: LLJitMapFunctionsToJitSymbolsTests.check_asin_ViaModule 285/3476 Test #285: LLJitMapFunctionsToJitSymbolsTests.check_asin_ViaModule ........................................... Passed 0.02 sec Start 286: LLJitMapFunctionsToJitSymbolsTests.check_atan_ViaModule 286/3476 Test #286: LLJitMapFunctionsToJitSymbolsTests.check_atan_ViaModule ........................................... Passed 0.02 sec Start 287: LLJitMapFunctionsToJitSymbolsTests.check_ceil_ViaModule 287/3476 Test #287: LLJitMapFunctionsToJitSymbolsTests.check_ceil_ViaModule ........................................... Passed 0.02 sec Start 288: LLJitMapFunctionsToJitSymbolsTests.check_cos_ViaModule 288/3476 Test #288: LLJitMapFunctionsToJitSymbolsTests.check_cos_ViaModule ............................................ Passed 0.02 sec Start 289: LLJitMapFunctionsToJitSymbolsTests.check_cosh_ViaModule 289/3476 Test #289: LLJitMapFunctionsToJitSymbolsTests.check_cosh_ViaModule ........................................... Passed 0.02 sec Start 290: LLJitMapFunctionsToJitSymbolsTests.check_exp_ViaModule 290/3476 Test #290: LLJitMapFunctionsToJitSymbolsTests.check_exp_ViaModule ............................................ Passed 0.02 sec Start 291: LLJitMapFunctionsToJitSymbolsTests.check_floor_ViaModule 291/3476 Test #291: LLJitMapFunctionsToJitSymbolsTests.check_floor_ViaModule .......................................... Passed 0.02 sec Start 292: LLJitMapFunctionsToJitSymbolsTests.check_log_ViaModule 292/3476 Test #292: LLJitMapFunctionsToJitSymbolsTests.check_log_ViaModule ............................................ Passed 0.02 sec Start 293: LLJitMapFunctionsToJitSymbolsTests.check_log10_ViaModule 293/3476 Test #293: LLJitMapFunctionsToJitSymbolsTests.check_log10_ViaModule .......................................... Passed 0.02 sec Start 294: LLJitMapFunctionsToJitSymbolsTests.check_sin_ViaModule 294/3476 Test #294: LLJitMapFunctionsToJitSymbolsTests.check_sin_ViaModule ............................................ Passed 0.02 sec Start 295: LLJitMapFunctionsToJitSymbolsTests.check_sinh_ViaModule 295/3476 Test #295: LLJitMapFunctionsToJitSymbolsTests.check_sinh_ViaModule ........................................... Passed 0.02 sec Start 296: LLJitMapFunctionsToJitSymbolsTests.check_tan_ViaModule 296/3476 Test #296: LLJitMapFunctionsToJitSymbolsTests.check_tan_ViaModule ............................................ Passed 0.02 sec Start 297: LLJitMapFunctionsToJitSymbolsTests.check_tanh_ViaModule 297/3476 Test #297: LLJitMapFunctionsToJitSymbolsTests.check_tanh_ViaModule ........................................... Passed 0.02 sec Start 298: LLJitMapFunctionsToJitSymbolsTests.check_fmod_ViaModule 298/3476 Test #298: LLJitMapFunctionsToJitSymbolsTests.check_fmod_ViaModule ........................................... Passed 0.02 sec Start 299: LLJitMapFunctionsToJitSymbolsTests.check_arccot_ViaModule 299/3476 Test #299: LLJitMapFunctionsToJitSymbolsTests.check_arccot_ViaModule ......................................... Passed 0.02 sec Start 300: LLJitMapFunctionsToJitSymbolsTests.check_rr_arccot_negzero_ViaModule 300/3476 Test #300: LLJitMapFunctionsToJitSymbolsTests.check_rr_arccot_negzero_ViaModule .............................. Passed 0.02 sec Start 301: LLJitMapFunctionsToJitSymbolsTests.check_arccoth_ViaModule 301/3476 Test #301: LLJitMapFunctionsToJitSymbolsTests.check_arccoth_ViaModule ........................................ Passed 0.02 sec Start 302: LLJitMapFunctionsToJitSymbolsTests.check_arccsc_ViaModule 302/3476 Test #302: LLJitMapFunctionsToJitSymbolsTests.check_arccsc_ViaModule ......................................... Passed 0.02 sec Start 303: LLJitMapFunctionsToJitSymbolsTests.check_arccsch_ViaModule 303/3476 Test #303: LLJitMapFunctionsToJitSymbolsTests.check_arccsch_ViaModule ........................................ Passed 0.02 sec Start 304: LLJitMapFunctionsToJitSymbolsTests.check_arcsec_ViaModule 304/3476 Test #304: LLJitMapFunctionsToJitSymbolsTests.check_arcsec_ViaModule ......................................... Passed 0.02 sec Start 305: LLJitMapFunctionsToJitSymbolsTests.check_arcsech_ViaModule 305/3476 Test #305: LLJitMapFunctionsToJitSymbolsTests.check_arcsech_ViaModule ........................................ Passed 0.02 sec Start 306: LLJitMapFunctionsToJitSymbolsTests.check_cot_ViaModule 306/3476 Test #306: LLJitMapFunctionsToJitSymbolsTests.check_cot_ViaModule ............................................ Passed 0.02 sec Start 307: LLJitMapFunctionsToJitSymbolsTests.check_coth_ViaModule 307/3476 Test #307: LLJitMapFunctionsToJitSymbolsTests.check_coth_ViaModule ........................................... Passed 0.02 sec Start 308: LLJitMapFunctionsToJitSymbolsTests.check_csc_ViaModule 308/3476 Test #308: LLJitMapFunctionsToJitSymbolsTests.check_csc_ViaModule ............................................ Passed 0.02 sec Start 309: LLJitMapFunctionsToJitSymbolsTests.check_csch_ViaModule 309/3476 Test #309: LLJitMapFunctionsToJitSymbolsTests.check_csch_ViaModule ........................................... Passed 0.02 sec Start 310: LLJitMapFunctionsToJitSymbolsTests.check_rr_factoriali_ViaModule 310/3476 Test #310: LLJitMapFunctionsToJitSymbolsTests.check_rr_factoriali_ViaModule .................................. Passed 0.02 sec Start 311: LLJitMapFunctionsToJitSymbolsTests.check_rr_factoriald_ViaModule 311/3476 Test #311: LLJitMapFunctionsToJitSymbolsTests.check_rr_factoriald_ViaModule .................................. Passed 0.02 sec Start 312: LLJitMapFunctionsToJitSymbolsTests.check_rr_logd_ViaModule 312/3476 Test #312: LLJitMapFunctionsToJitSymbolsTests.check_rr_logd_ViaModule ........................................ Passed 0.02 sec Start 313: LLJitMapFunctionsToJitSymbolsTests.check_rr_rootd_ViaModule 313/3476 Test #313: LLJitMapFunctionsToJitSymbolsTests.check_rr_rootd_ViaModule ....................................... Passed 0.02 sec Start 314: LLJitMapFunctionsToJitSymbolsTests.check_sec_ViaModule 314/3476 Test #314: LLJitMapFunctionsToJitSymbolsTests.check_sec_ViaModule ............................................ Passed 0.02 sec Start 315: LLJitMapFunctionsToJitSymbolsTests.check_sech_ViaModule 315/3476 Test #315: LLJitMapFunctionsToJitSymbolsTests.check_sech_ViaModule ........................................... Passed 0.02 sec Start 316: LLJitMapFunctionsToJitSymbolsTests.check_arccosh_ViaModule 316/3476 Test #316: LLJitMapFunctionsToJitSymbolsTests.check_arccosh_ViaModule ........................................ Passed 0.02 sec Start 317: LLJitMapFunctionsToJitSymbolsTests.check_arcsinh_ViaModule 317/3476 Test #317: LLJitMapFunctionsToJitSymbolsTests.check_arcsinh_ViaModule ........................................ Passed 0.02 sec Start 318: LLJitMapFunctionsToJitSymbolsTests.check_arctanh_ViaModule 318/3476 Test #318: LLJitMapFunctionsToJitSymbolsTests.check_arctanh_ViaModule ........................................ Passed 0.02 sec Start 319: LLJitMapFunctionsToJitSymbolsTests.check_quotient_ViaModule 319/3476 Test #319: LLJitMapFunctionsToJitSymbolsTests.check_quotient_ViaModule ....................................... Passed 0.02 sec Start 320: LLJitMapFunctionsToJitSymbolsTests.check_rr_max_ViaModule 320/3476 Test #320: LLJitMapFunctionsToJitSymbolsTests.check_rr_max_ViaModule ......................................... Passed 0.02 sec Start 321: LLJitMapFunctionsToJitSymbolsTests.check_rr_min_ViaModule 321/3476 Test #321: LLJitMapFunctionsToJitSymbolsTests.check_rr_min_ViaModule ......................................... Passed 0.02 sec Start 322: LLJitMapFunctionsToJitSymbolsTests.check_csr_matrix_get_nz_ViaModule 322/3476 Test #322: LLJitMapFunctionsToJitSymbolsTests.check_csr_matrix_get_nz_ViaModule .............................. Passed 0.02 sec Start 323: LLJitMapFunctionsToJitSymbolsTests.check_csr_matrix_set_nz_ViaModule 323/3476 Test #323: LLJitMapFunctionsToJitSymbolsTests.check_csr_matrix_set_nz_ViaModule .............................. Passed 0.02 sec Start 324: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_uniform_LoadsFromModule 324/3476 Test #324: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_uniform_LoadsFromModule ....................... Passed 0.02 sec Start 325: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_LoadsFromModule 325/3476 Test #325: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_LoadsFromModule ........................ Passed 0.02 sec Start 326: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_four_LoadsFromModule 326/3476 Test #326: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_normal_four_LoadsFromModule ................... Passed 0.02 sec Start 327: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_bernoulli_LoadsFromModule 327/3476 Test #327: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_bernoulli_LoadsFromModule ..................... Passed 0.02 sec Start 328: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_LoadsFromModule 328/3476 Test #328: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_LoadsFromModule ...................... Passed 0.02 sec Start 329: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_four_LoadsFromModule 329/3476 Test #329: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_binomial_four_LoadsFromModule ................. Passed 0.02 sec Start 330: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_LoadsFromModule 330/3476 Test #330: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_LoadsFromModule ........................ Passed 0.02 sec Start 331: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_one_LoadsFromModule 331/3476 Test #331: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_one_LoadsFromModule .................... Passed 0.02 sec Start 332: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_four_LoadsFromModule 332/3476 Test #332: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_cauchy_four_LoadsFromModule ................... Passed 0.02 sec Start 333: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_LoadsFromModule 333/3476 Test #333: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_LoadsFromModule ..................... Passed 0.02 sec Start 334: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_three_LoadsFromModule 334/3476 Test #334: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_chisquare_three_LoadsFromModule ............... Passed 0.02 sec Start 335: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_LoadsFromModule 335/3476 Test #335: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_LoadsFromModule ................... Passed 0.02 sec Start 336: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_three_LoadsFromModule 336/3476 Test #336: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_exponential_three_LoadsFromModule ............. Passed 0.02 sec Start 337: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_LoadsFromModule 337/3476 Test #337: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_LoadsFromModule ......................... Passed 0.02 sec Start 338: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_four_LoadsFromModule 338/3476 Test #338: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_gamma_four_LoadsFromModule .................... Passed 0.02 sec Start 339: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_LoadsFromModule 339/3476 Test #339: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_LoadsFromModule ....................... Passed 0.02 sec Start 340: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_one_LoadsFromModule 340/3476 Test #340: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_one_LoadsFromModule ................... Passed 0.02 sec Start 341: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_four_LoadsFromModule 341/3476 Test #341: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_laplace_four_LoadsFromModule .................. Passed 0.02 sec Start 342: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_LoadsFromModule 342/3476 Test #342: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_LoadsFromModule ..................... Passed 0.02 sec Start 343: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_four_LoadsFromModule 343/3476 Test #343: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_lognormal_four_LoadsFromModule ................ Passed 0.02 sec Start 344: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_LoadsFromModule 344/3476 Test #344: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_LoadsFromModule ....................... Passed 0.02 sec Start 345: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_three_LoadsFromModule 345/3476 Test #345: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_poisson_three_LoadsFromModule ................. Passed 0.02 sec Start 346: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_LoadsFromModule 346/3476 Test #346: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_LoadsFromModule ...................... Passed 0.02 sec Start 347: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_three_LoadsFromModule 347/3476 Test #347: LLJitMapFunctionsToJitSymbolsTests.check_rr_distrib_rayleigh_three_LoadsFromModule ................ Passed 0.02 sec Start 348: CsrMatrixJitAliasSignatureTests.LLJitGetAndSetNzInvokeCorrectly 348/3476 Test #348: CsrMatrixJitAliasSignatureTests.LLJitGetAndSetNzInvokeCorrectly ................................... Passed 0.02 sec Start 349: CsrMatrixJitAliasSignatureTests.MCJitGetAndSetNzInvokeCorrectly 349/3476 Test #349: CsrMatrixJitAliasSignatureTests.MCJitGetAndSetNzInvokeCorrectly ................................... Passed 0.02 sec Start 350: RandomTestsMCJit.checkDistrib_uniform 350/3476 Test #350: RandomTestsMCJit.checkDistrib_uniform ............................................................. Passed 0.02 sec Start 351: RandomTestsMCJit.checkDistrib_normal 351/3476 Test #351: RandomTestsMCJit.checkDistrib_normal .............................................................. Passed 0.02 sec Start 352: RandomTestsMCJit.checkDistrib_normal_four 352/3476 Test #352: RandomTestsMCJit.checkDistrib_normal_four ......................................................... Passed 0.02 sec Start 353: RandomTestsMCJit.checkDistrib_bernoulli 353/3476 Test #353: RandomTestsMCJit.checkDistrib_bernoulli ........................................................... Passed 0.02 sec Start 354: RandomTestsMCJit.checkDistrib_binomial 354/3476 Test #354: RandomTestsMCJit.checkDistrib_binomial ............................................................ Passed 0.02 sec Start 355: RandomTestsMCJit.checkDistrib_binomial_four 355/3476 Test #355: RandomTestsMCJit.checkDistrib_binomial_four ....................................................... Passed 0.02 sec Start 356: RandomTestsMCJit.checkDistrib_cauchy 356/3476 Test #356: RandomTestsMCJit.checkDistrib_cauchy .............................................................. Passed 0.02 sec Start 357: RandomTestsMCJit.checkDistrib_cauchy_one 357/3476 Test #357: RandomTestsMCJit.checkDistrib_cauchy_one .......................................................... Passed 0.02 sec Start 358: RandomTestsMCJit.checkDistrib_cauchy_four 358/3476 Test #358: RandomTestsMCJit.checkDistrib_cauchy_four ......................................................... Passed 0.02 sec Start 359: RandomTestsMCJit.checkDistrib_chisquare 359/3476 Test #359: RandomTestsMCJit.checkDistrib_chisquare ........................................................... Passed 0.02 sec Start 360: RandomTestsMCJit.checkDistrib_chisquare_three 360/3476 Test #360: RandomTestsMCJit.checkDistrib_chisquare_three ..................................................... Passed 0.02 sec Start 361: RandomTestsMCJit.checkDistrib_exponential 361/3476 Test #361: RandomTestsMCJit.checkDistrib_exponential ......................................................... Passed 0.02 sec Start 362: RandomTestsMCJit.checkDistrib_exponential_three 362/3476 Test #362: RandomTestsMCJit.checkDistrib_exponential_three ................................................... Passed 0.02 sec Start 363: RandomTestsMCJit.checkDistrib_gamma 363/3476 Test #363: RandomTestsMCJit.checkDistrib_gamma ............................................................... Passed 0.02 sec Start 364: RandomTestsMCJit.checkDistrib_gamma_four 364/3476 Test #364: RandomTestsMCJit.checkDistrib_gamma_four .......................................................... Passed 0.02 sec Start 365: RandomTestsMCJit.checkDistrib_laplace 365/3476 Test #365: RandomTestsMCJit.checkDistrib_laplace ............................................................. Passed 0.02 sec Start 366: RandomTestsMCJit.checkDistrib_laplace_one 366/3476 Test #366: RandomTestsMCJit.checkDistrib_laplace_one ......................................................... Passed 0.02 sec Start 367: RandomTestsMCJit.checkDistrib_laplace_four 367/3476 Test #367: RandomTestsMCJit.checkDistrib_laplace_four ........................................................ Passed 0.02 sec Start 368: RandomTestsMCJit.checkDistrib_lognormal 368/3476 Test #368: RandomTestsMCJit.checkDistrib_lognormal ........................................................... Passed 0.02 sec Start 369: RandomTestsMCJit.checkDistrib_lognormal_four 369/3476 Test #369: RandomTestsMCJit.checkDistrib_lognormal_four ...................................................... Passed 0.02 sec Start 370: RandomTestsMCJit.checkDistrib_poisson 370/3476 Test #370: RandomTestsMCJit.checkDistrib_poisson ............................................................. Passed 0.02 sec Start 371: RandomTestsMCJit.checkDistrib_poisson_three 371/3476 Test #371: RandomTestsMCJit.checkDistrib_poisson_three ....................................................... Passed 0.02 sec Start 372: RandomTestsMCJit.checkDistrib_rayleigh 372/3476 Test #372: RandomTestsMCJit.checkDistrib_rayleigh ............................................................ Passed 0.02 sec Start 373: RandomTestsMCJit.checkDistrib_rayleigh_three 373/3476 Test #373: RandomTestsMCJit.checkDistrib_rayleigh_three ...................................................... Passed 0.02 sec Start 374: RandomTestsRRLLJit.checkDistrib_uniform 374/3476 Test #374: RandomTestsRRLLJit.checkDistrib_uniform ........................................................... Passed 0.02 sec Start 375: RandomTestsRRLLJit.checkDistrib_normal 375/3476 Test #375: RandomTestsRRLLJit.checkDistrib_normal ............................................................ Passed 0.02 sec Start 376: RandomTestsRRLLJit.checkDistrib_normal_four 376/3476 Test #376: RandomTestsRRLLJit.checkDistrib_normal_four ....................................................... Passed 0.02 sec Start 377: RandomTestsRRLLJit.checkDistrib_bernoulli 377/3476 Test #377: RandomTestsRRLLJit.checkDistrib_bernoulli ......................................................... Passed 0.02 sec Start 378: RandomTestsRRLLJit.checkDistrib_binomial 378/3476 Test #378: RandomTestsRRLLJit.checkDistrib_binomial .......................................................... Passed 0.02 sec Start 379: RandomTestsRRLLJit.checkDistrib_binomial_four 379/3476 Test #379: RandomTestsRRLLJit.checkDistrib_binomial_four ..................................................... Passed 0.02 sec Start 380: RandomTestsRRLLJit.checkDistrib_cauchy 380/3476 Test #380: RandomTestsRRLLJit.checkDistrib_cauchy ............................................................ Passed 0.02 sec Start 381: RandomTestsRRLLJit.checkDistrib_cauchy_one 381/3476 Test #381: RandomTestsRRLLJit.checkDistrib_cauchy_one ........................................................ Passed 0.02 sec Start 382: RandomTestsRRLLJit.checkDistrib_cauchy_four 382/3476 Test #382: RandomTestsRRLLJit.checkDistrib_cauchy_four ....................................................... Passed 0.02 sec Start 383: RandomTestsRRLLJit.checkDistrib_chisquare 383/3476 Test #383: RandomTestsRRLLJit.checkDistrib_chisquare ......................................................... Passed 0.02 sec Start 384: RandomTestsRRLLJit.checkDistrib_chisquare_three 384/3476 Test #384: RandomTestsRRLLJit.checkDistrib_chisquare_three ................................................... Passed 0.02 sec Start 385: RandomTestsRRLLJit.checkDistrib_exponential 385/3476 Test #385: RandomTestsRRLLJit.checkDistrib_exponential ....................................................... Passed 0.02 sec Start 386: RandomTestsRRLLJit.checkDistrib_exponential_three 386/3476 Test #386: RandomTestsRRLLJit.checkDistrib_exponential_three ................................................. Passed 0.02 sec Start 387: RandomTestsRRLLJit.checkDistrib_gamma 387/3476 Test #387: RandomTestsRRLLJit.checkDistrib_gamma ............................................................. Passed 0.02 sec Start 388: RandomTestsRRLLJit.checkDistrib_gamma_four 388/3476 Test #388: RandomTestsRRLLJit.checkDistrib_gamma_four ........................................................ Passed 0.02 sec Start 389: RandomTestsRRLLJit.checkDistrib_laplace 389/3476 Test #389: RandomTestsRRLLJit.checkDistrib_laplace ........................................................... Passed 0.02 sec Start 390: RandomTestsRRLLJit.checkDistrib_laplace_one 390/3476 Test #390: RandomTestsRRLLJit.checkDistrib_laplace_one ....................................................... Passed 0.02 sec Start 391: RandomTestsRRLLJit.checkDistrib_laplace_four 391/3476 Test #391: RandomTestsRRLLJit.checkDistrib_laplace_four ...................................................... Passed 0.02 sec Start 392: RandomTestsRRLLJit.checkDistrib_lognormal 392/3476 Test #392: RandomTestsRRLLJit.checkDistrib_lognormal ......................................................... Passed 0.02 sec Start 393: RandomTestsRRLLJit.checkDistrib_lognormal_four 393/3476 Test #393: RandomTestsRRLLJit.checkDistrib_lognormal_four .................................................... Passed 0.02 sec Start 394: RandomTestsRRLLJit.checkDistrib_poisson 394/3476 Test #394: RandomTestsRRLLJit.checkDistrib_poisson ........................................................... Passed 0.02 sec Start 395: RandomTestsRRLLJit.checkDistrib_poisson_three 395/3476 Test #395: RandomTestsRRLLJit.checkDistrib_poisson_three ..................................................... Passed 0.02 sec Start 396: RandomTestsRRLLJit.checkDistrib_rayleigh 396/3476 Test #396: RandomTestsRRLLJit.checkDistrib_rayleigh .......................................................... Passed 0.02 sec Start 397: RandomTestsRRLLJit.checkDistrib_rayleigh_three 397/3476 Test #397: RandomTestsRRLLJit.checkDistrib_rayleigh_three .................................................... Passed 0.02 sec Start 398: EvalInitialConditionsTests.CheckInitialSpeciesComputedCorrectlyMCJit 398/3476 Test #398: EvalInitialConditionsTests.CheckInitialSpeciesComputedCorrectlyMCJit .............................. Passed 0.02 sec Start 399: EvalInitialConditionsTests.CheckInitialSpeciesComputedCorrectlyLLJit 399/3476 Test #399: EvalInitialConditionsTests.CheckInitialSpeciesComputedCorrectlyLLJit .............................. Passed 0.02 sec Start 400: JitFactoryTests.MCJitFromConfig 400/3476 Test #400: JitFactoryTests.MCJitFromConfig ................................................................... Passed 0.02 sec Start 401: JitFactoryTests.LLJitFromConfig 401/3476 Test #401: JitFactoryTests.LLJitFromConfig ................................................................... Passed 0.02 sec Start 402: JitFactoryTests.MCJitFromOpt 402/3476 Test #402: JitFactoryTests.MCJitFromOpt ...................................................................... Passed 0.02 sec Start 403: JitFactoryTests.LLJitFromOpt 403/3476 Test #403: JitFactoryTests.LLJitFromOpt ...................................................................... Passed 0.02 sec Start 404: LLJitSectionRange.SectionsStayWithinTwoGiB 404/3476 Test #404: LLJitSectionRange.SectionsStayWithinTwoGiB ........................................................ Passed 0.22 sec Start 405: LLJitSectionRange.TwoModelsAliveTogether 405/3476 Test #405: LLJitSectionRange.TwoModelsAliveTogether .......................................................... Passed 0.52 sec Start 406: RRTestFilesOtherTests.EMPTY_EVENT_ASSIGNMENTS 406/3476 Test #406: RRTestFilesOtherTests.EMPTY_EVENT_ASSIGNMENTS ..................................................... Passed 0.04 sec Start 407: RRTestFilesOtherTests.SAVED_SPECIES_AMOUNT 407/3476 Test #407: RRTestFilesOtherTests.SAVED_SPECIES_AMOUNT ........................................................ Passed 0.07 sec Start 408: RRTestFilesOtherTests.SPECIES_UNITS 408/3476 Test #408: RRTestFilesOtherTests.SPECIES_UNITS ............................................................... Passed 0.06 sec Start 409: RRTestFilesOtherTests.SPECIES_UNITS2 409/3476 Test #409: RRTestFilesOtherTests.SPECIES_UNITS2 .............................................................. Passed 0.06 sec Start 410: RRTestFilesOtherTests.OUTPUT_FILE_VARIABLE_TIMESTEP 410/3476 Test #410: RRTestFilesOtherTests.OUTPUT_FILE_VARIABLE_TIMESTEP ............................................... Passed 0.07 sec Start 411: RRTestFilesOtherTests.OUTPUT_FILE_FIXED_TIMESTEP 411/3476 Test #411: RRTestFilesOtherTests.OUTPUT_FILE_FIXED_TIMESTEP .................................................. Passed 0.06 sec Start 412: CApiRRTests.TestAbsolute_Tolerance1 412/3476 Test #412: CApiRRTests.TestAbsolute_Tolerance1 ............................................................... Passed 0.05 sec Start 413: CApiRRTests.TestAdd_Event_Assignment1 413/3476 Test #413: CApiRRTests.TestAdd_Event_Assignment1 ............................................................. Passed 0.05 sec Start 414: CApiRRTests.TestAdd_Reactions1 414/3476 Test #414: CApiRRTests.TestAdd_Reactions1 .................................................................... Passed 0.05 sec Start 415: CApiRRTests.TestAdd_Reactions2 415/3476 Test #415: CApiRRTests.TestAdd_Reactions2 .................................................................... Passed 0.07 sec Start 416: CApiRRTests.TestAdd_Species1 416/3476 Test #416: CApiRRTests.TestAdd_Species1 ...................................................................... Passed 0.05 sec Start 417: CApiRRTests.TestBimolecular_end 417/3476 Test #417: CApiRRTests.TestBimolecular_end ................................................................... Passed 0.10 sec Start 418: CApiRRTests.TestComp 418/3476 Test #418: CApiRRTests.TestComp .............................................................................. Passed 0.04 sec Start 419: CApiRRTests.TestConserved_Cycle 419/3476 Test #419: CApiRRTests.TestConserved_Cycle ................................................................... Passed 0.08 sec Start 420: CApiRRTests.TestConserved_Cycle_and_Branch 420/3476 Test #420: CApiRRTests.TestConserved_Cycle_and_Branch ........................................................ Passed 0.10 sec Start 421: CApiRRTests.TestCycle 421/3476 Test #421: CApiRRTests.TestCycle ............................................................................. Passed 0.09 sec Start 422: CApiRRTests.TestCycle_across_branches 422/3476 Test #422: CApiRRTests.TestCycle_across_branches ............................................................. Passed 0.10 sec Start 423: CApiRRTests.TestCycle_to_Input_and_Branch 423/3476 Test #423: CApiRRTests.TestCycle_to_Input_and_Branch ......................................................... Passed 0.11 sec Start 424: CApiRRTests.TestEvent_timings_276 424/3476 Test #424: CApiRRTests.TestEvent_timings_276 ................................................................. Passed 0.05 sec Start 425: CApiRRTests.TestFour_Steps 425/3476 Test #425: CApiRRTests.TestFour_Steps ........................................................................ Passed 0.10 sec Start 426: CApiRRTests.TestFutile_Cycle 426/3476 Test #426: CApiRRTests.TestFutile_Cycle ...................................................................... Passed 0.09 sec Start 427: CApiRRTests.TestGillespie 427/3476 Test #427: CApiRRTests.TestGillespie ......................................................................... Passed 0.04 sec Start 428: CApiRRTests.TestMultiBranch2 428/3476 Test #428: CApiRRTests.TestMultiBranch2 ...................................................................... Passed 0.10 sec Start 429: CApiRRTests.TestMultibranch1 429/3476 Test #429: CApiRRTests.TestMultibranch1 ...................................................................... Passed 0.10 sec Start 430: CApiRRTests.TestRatesOfChange 430/3476 Test #430: CApiRRTests.TestRatesOfChange ..................................................................... Passed 0.08 sec Start 431: CApiRRTests.TestRemove_Compartment1 431/3476 Test #431: CApiRRTests.TestRemove_Compartment1 ............................................................... Passed 0.07 sec Start 432: CApiRRTests.TestRemove_Parameter1 432/3476 Test #432: CApiRRTests.TestRemove_Parameter1 ................................................................. Passed 0.09 sec Start 433: CApiRRTests.TestRemove_Parameter2 433/3476 Test #433: CApiRRTests.TestRemove_Parameter2 ................................................................. Passed 0.06 sec Start 434: CApiRRTests.TestRemove_Rules1 434/3476 Test #434: CApiRRTests.TestRemove_Rules1 ..................................................................... Passed 0.07 sec Start 435: CApiRRTests.TestRemove_Species1 435/3476 Test #435: CApiRRTests.TestRemove_Species1 ................................................................... Passed 0.07 sec Start 436: CApiRRTests.TestSet_Kinetic_Law1 436/3476 Test #436: CApiRRTests.TestSet_Kinetic_Law1 .................................................................. Passed 0.07 sec Start 437: CApiRRTests.TestSimpleUniUni 437/3476 Test #437: CApiRRTests.TestSimpleUniUni ...................................................................... Passed 0.05 sec Start 438: CApiRRTests.TestSimple_Branch 438/3476 Test #438: CApiRRTests.TestSimple_Branch ..................................................................... Passed 0.09 sec Start 439: CApiRRTests.TestTest_1 439/3476 Test #439: CApiRRTests.TestTest_1 ............................................................................ Passed 0.38 sec Start 440: CApiRRTests.TestTest_3 440/3476 Test #440: CApiRRTests.TestTest_3 ............................................................................ Passed 0.24 sec Start 441: CApiRRTests.TestThree_Steps 441/3476 Test #441: CApiRRTests.TestThree_Steps ....................................................................... Passed 0.09 sec Start 442: CApiRRTests.TestTwo_Cycles 442/3476 Test #442: CApiRRTests.TestTwo_Cycles ........................................................................ Passed 0.09 sec Start 443: CApiRRTests.TestTwo_Steps 443/3476 Test #443: CApiRRTests.TestTwo_Steps ......................................................................... Passed 0.08 sec Start 444: CApiRRTests.Testoscli 444/3476 Test #444: CApiRRTests.Testoscli ............................................................................. Passed 0.21 sec Start 445: CApiRRTests.Testreversible_Jacobian 445/3476 Test #445: CApiRRTests.Testreversible_Jacobian ............................................................... Passed 0.11 sec Start 446: CApiRRTests.Testvariable_time_step 446/3476 Test #446: CApiRRTests.Testvariable_time_step ................................................................ Passed 0.05 sec Start 447: NomTests.NOM_TEST_DATA_FILES 447/3476 Test #447: NomTests.NOM_TEST_DATA_FILES ...................................................................... Passed 0.06 sec Start 448: NomTests.NOM_GET_NAME 448/3476 Test #448: NomTests.NOM_GET_NAME ............................................................................. Passed 0.02 sec Start 449: NomTests.NOM_GET_NUMBER_OF_RULES 449/3476 Test #449: NomTests.NOM_GET_NUMBER_OF_RULES .................................................................. Passed 0.02 sec Start 450: NomTests.FREE_RR_INSTANCE 450/3476 Test #450: NomTests.FREE_RR_INSTANCE ......................................................................... Passed 0.02 sec Start 451: ModelAnalysisTests.issue1351_steadyStateAfterSimulate 451/3476 Test #451: ModelAnalysisTests.issue1351_steadyStateAfterSimulate ............................................. Passed 0.22 sec Start 452: ModelAnalysisTests.issue1339_timesAfterSteps 452/3476 Test #452: ModelAnalysisTests.issue1339_timesAfterSteps ...................................................... Passed 0.04 sec Start 453: ModelAnalysisTests.issue1339_stepsAfterTimes 453/3476 Test #453: ModelAnalysisTests.issue1339_stepsAfterTimes ...................................................... Passed 0.04 sec Start 454: ModelAnalysisTests.issue1339_largerTimesAfterTimes 454/3476 Test #454: ModelAnalysisTests.issue1339_largerTimesAfterTimes ................................................ Passed 0.04 sec Start 455: ModelAnalysisTests.issue1339_smallerTimesAfterTimes 455/3476 Test #455: ModelAnalysisTests.issue1339_smallerTimesAfterTimes ............................................... Passed 0.03 sec Start 456: ModelAnalysisTests.issue1259 456/3476 Test #456: ModelAnalysisTests.issue1259 ...................................................................... Passed 0.14 sec Start 457: ModelAnalysisTests.RegenerateOddModel 457/3476 Test #457: ModelAnalysisTests.RegenerateOddModel ............................................................. Passed 0.07 sec Start 458: ModelAnalysisTests.SimulateWithSameTimes 458/3476 Test #458: ModelAnalysisTests.SimulateWithSameTimes .......................................................... Passed 0.07 sec Start 459: ModelAnalysisTests.SimulateWithSameEndTimes 459/3476 Test #459: ModelAnalysisTests.SimulateWithSameEndTimes ....................................................... Passed 0.07 sec Start 460: ModelAnalysisTests.issue1031 460/3476 Test #460: ModelAnalysisTests.issue1031 ...................................................................... Passed 1.11 sec Start 461: ModelAnalysisTests.issue1020_full 461/3476 Test #461: ModelAnalysisTests.issue1020_full ................................................................. Passed 0.14 sec Start 462: ModelAnalysisTests.issue1020_reduced 462/3476 Test #462: ModelAnalysisTests.issue1020_reduced .............................................................. Passed 0.13 sec Start 463: ModelAnalysisTests.issue976a 463/3476 Test #463: ModelAnalysisTests.issue976a ...................................................................... Passed 0.09 sec Start 464: ModelAnalysisTests.issue976b 464/3476 Test #464: ModelAnalysisTests.issue976b ...................................................................... Passed 0.09 sec Start 465: ModelAnalysisTests.checkGetRatesOfChangeIds 465/3476 Test #465: ModelAnalysisTests.checkGetRatesOfChangeIds ....................................................... Passed 0.06 sec Start 466: ModelAnalysisTests.checkGetRatesOfChangeIdsNonBoundarySpeciesRate 466/3476 Test #466: ModelAnalysisTests.checkGetRatesOfChangeIdsNonBoundarySpeciesRate ................................. Passed 0.09 sec Start 467: ModelAnalysisTests.checkGetRatesOfChangeIdsConservedMoiety 467/3476 Test #467: ModelAnalysisTests.checkGetRatesOfChangeIdsConservedMoiety ........................................ Passed 0.11 sec Start 468: ModelAnalysisTests.checkGetFullStoichimetryMatrixWarningMsg 468/3476 Test #468: ModelAnalysisTests.checkGetFullStoichimetryMatrixWarningMsg ....................................... Passed 0.27 sec Start 469: ModelAnalysisTests.checkUCCForSet 469/3476 Test #469: ModelAnalysisTests.checkUCCForSet ................................................................. Passed 0.93 sec Start 470: ModelAnalysisTests.getConcentrationRateSimple 470/3476 Test #470: ModelAnalysisTests.getConcentrationRateSimple ..................................................... Passed 0.05 sec Start 471: ModelAnalysisTests.getConcentrationRateComplex 471/3476 Test #471: ModelAnalysisTests.getConcentrationRateComplex .................................................... Passed 0.05 sec Start 472: ModelAnalysisTests.getConcentrationRateBoundary 472/3476 Test #472: ModelAnalysisTests.getConcentrationRateBoundary ................................................... Passed 0.08 sec Start 473: ModelAnalysisTests.getConcentrationRateFail 473/3476 Test #473: ModelAnalysisTests.getConcentrationRateFail ....................................................... Passed 0.08 sec Start 474: ModelAnalysisTests.SameJacobians1 474/3476 Test #474: ModelAnalysisTests.SameJacobians1 ................................................................. Passed 0.08 sec Start 475: ModelAnalysisTests.SameJacobians2 475/3476 Test #475: ModelAnalysisTests.SameJacobians2 ................................................................. Passed 0.05 sec Start 476: ModelAnalysisTests.SameJacobians3 476/3476 Test #476: ModelAnalysisTests.SameJacobians3 ................................................................. Passed 0.05 sec Start 477: ModelAnalysisTests.jacobian_multiComp_diffVols_JACOB_MODE_FALSE 477/3476 Test #477: ModelAnalysisTests.jacobian_multiComp_diffVols_JACOB_MODE_FALSE ................................... Passed 0.06 sec Start 478: ModelAnalysisTests.jacobian_multiComp_diffVols_JACOB_MODE_TRUE 478/3476 Test #478: ModelAnalysisTests.jacobian_multiComp_diffVols_JACOB_MODE_TRUE .................................... Passed 0.06 sec Start 479: ModelAnalysisTests.jacobian_multiComp_diffVols_CompsEqOne 479/3476 Test #479: ModelAnalysisTests.jacobian_multiComp_diffVols_CompsEqOne ......................................... Passed 0.06 sec Start 480: ModelAnalysisTests.jacobian_multiComp_diffVols_CompsEqSame 480/3476 Test #480: ModelAnalysisTests.jacobian_multiComp_diffVols_CompsEqSame ........................................ Passed 0.06 sec Start 481: ModelAnalysisTests.SimulateCVODEFromNegativeStartGeneral 481/3476 Test #481: ModelAnalysisTests.SimulateCVODEFromNegativeStartGeneral .......................................... Passed 0.05 sec Start 482: ModelAnalysisTests.SimulateCVODEFromNegativeStart_Time 482/3476 Test #482: ModelAnalysisTests.SimulateCVODEFromNegativeStart_Time ............................................ Passed 0.05 sec Start 483: ModelAnalysisTests.SimulateCVODEFromNegativeStart_TimeDelay 483/3476 Test #483: ModelAnalysisTests.SimulateCVODEFromNegativeStart_TimeDelay ....................................... Passed 0.05 sec Start 484: ModelAnalysisTests.SimulateCVODEFromNegativeStart_T0fire 484/3476 Test #484: ModelAnalysisTests.SimulateCVODEFromNegativeStart_T0fire .......................................... Passed 0.05 sec Start 485: ModelAnalysisTests.SimulateCVODEFromNegativeStart_Combo 485/3476 Test #485: ModelAnalysisTests.SimulateCVODEFromNegativeStart_Combo ........................................... Passed 0.05 sec Start 486: ModelAnalysisTests.SimulateCVODEFromNegativeStart_T0fireDelay 486/3476 Test #486: ModelAnalysisTests.SimulateCVODEFromNegativeStart_T0fireDelay .....................................***Not Run (Disabled) 0.00 sec Start 487: ModelAnalysisTests.SimulateGillespieFromNegativeStart_General 487/3476 Test #487: ModelAnalysisTests.SimulateGillespieFromNegativeStart_General ..................................... Passed 0.05 sec Start 488: ModelAnalysisTests.SimulateGillespieFromNegativeStart_T0fire 488/3476 Test #488: ModelAnalysisTests.SimulateGillespieFromNegativeStart_T0fire ...................................... Passed 0.05 sec Start 489: ModelAnalysisTests.NonZeroStarts_CVODE 489/3476 Test #489: ModelAnalysisTests.NonZeroStarts_CVODE ............................................................ Passed 0.07 sec Start 490: ModelAnalysisTests.NonZeroStarts_RK4 490/3476 Test #490: ModelAnalysisTests.NonZeroStarts_RK4 .............................................................. Passed 0.05 sec Start 491: ModelAnalysisTests.NonZeroStarts_RK45 491/3476 Test #491: ModelAnalysisTests.NonZeroStarts_RK45 ............................................................. Passed 0.05 sec Start 492: ModelAnalysisTests.NonZeroStarts_Gillespie 492/3476 Test #492: ModelAnalysisTests.NonZeroStarts_Gillespie ........................................................ Passed 0.05 sec Start 493: ModelAnalysisTests.GetRateOfConservedSpecies 493/3476 Test #493: ModelAnalysisTests.GetRateOfConservedSpecies ...................................................... Passed 0.08 sec Start 494: ModelAnalysisTests.ResetBoundarySpeciesRate 494/3476 Test #494: ModelAnalysisTests.ResetBoundarySpeciesRate ....................................................... Passed 0.07 sec Start 495: ModelAnalysisTests.ResetBoundarySpeciesEvent 495/3476 Test #495: ModelAnalysisTests.ResetBoundarySpeciesEvent ...................................................... Passed 0.08 sec Start 496: ModelAnalysisTests.ResetFloatingSpeciesRate 496/3476 Test #496: ModelAnalysisTests.ResetFloatingSpeciesRate ....................................................... Passed 0.09 sec Start 497: ModelAnalysisTests.ResetFloatingSpeciesEvent 497/3476 Test #497: ModelAnalysisTests.ResetFloatingSpeciesEvent ...................................................... Passed 0.07 sec Start 498: ModelAnalysisTests.ResetCompartmentFromRate 498/3476 Test #498: ModelAnalysisTests.ResetCompartmentFromRate ....................................................... Passed 0.06 sec Start 499: ModelAnalysisTests.ResetCompartmentFromEvent 499/3476 Test #499: ModelAnalysisTests.ResetCompartmentFromEvent ...................................................... Passed 0.07 sec Start 500: ModelAnalysisTests.ResetParamFromRate 500/3476 Test #500: ModelAnalysisTests.ResetParamFromRate ............................................................. Passed 0.05 sec Start 501: ModelAnalysisTests.ResetParamFromEvent 501/3476 Test #501: ModelAnalysisTests.ResetParamFromEvent ............................................................ Passed 0.06 sec Start 502: ModelAnalysisTests.ResetManyCompartments 502/3476 Test #502: ModelAnalysisTests.ResetManyCompartments .......................................................... Passed 0.07 sec Start 503: ModelAnalysisTests.ResetManyFloatingSpecies 503/3476 Test #503: ModelAnalysisTests.ResetManyFloatingSpecies ....................................................... Passed 0.08 sec Start 504: ModelAnalysisTests.ResetManyBoundarySpecies 504/3476 Test #504: ModelAnalysisTests.ResetManyBoundarySpecies ....................................................... Passed 0.08 sec Start 505: ModelAnalysisTests.ResetManyParameters 505/3476 Test #505: ModelAnalysisTests.ResetManyParameters ............................................................ Passed 0.07 sec Start 506: ModelAnalysisTests.ResetConservedCycles 506/3476 Test #506: ModelAnalysisTests.ResetConservedCycles ........................................................... Passed 0.08 sec Start 507: ModelAnalysisTests.AnalysisFunctionsWithEvent 507/3476 Test #507: ModelAnalysisTests.AnalysisFunctionsWithEvent ..................................................... Passed 0.05 sec Start 508: ModelAnalysisTests.EigenvalueNamedArrays 508/3476 Test #508: ModelAnalysisTests.EigenvalueNamedArrays .......................................................... Passed 0.07 sec Start 509: ModelAnalysisTests.ReducedEigenvalueNamedArrays 509/3476 Test #509: ModelAnalysisTests.ReducedEigenvalueNamedArrays ................................................... Passed 0.08 sec Start 510: ModelAnalysisTests.GetEventIDs 510/3476 Test #510: ModelAnalysisTests.GetEventIDs .................................................................... Passed 0.05 sec Start 511: ModelAnalysisTests.SetGetHasOnlySubstanceUnits 511/3476 Test #511: ModelAnalysisTests.SetGetHasOnlySubstanceUnits .................................................... Passed 0.12 sec Start 512: ModelAnalysisTests.SimulateGillespieMaxRows 512/3476 Test #512: ModelAnalysisTests.SimulateGillespieMaxRows ....................................................... Passed 0.07 sec Start 513: ModelAnalysisTests.SimulateAndCheckTime 513/3476 Test #513: ModelAnalysisTests.SimulateAndCheckTime ........................................................... Passed 0.09 sec Start 514: ModelAnalysisTests.SimulateGillespieZeroDuration 514/3476 Test #514: ModelAnalysisTests.SimulateGillespieZeroDuration .................................................. Passed 0.07 sec Start 515: ModelAnalysisTests.SimulateGillespieDuration 515/3476 Test #515: ModelAnalysisTests.SimulateGillespieDuration ...................................................... Passed 0.07 sec Start 516: ModelAnalysisTests.SimulateAccordingToDocs 516/3476 Test #516: ModelAnalysisTests.SimulateAccordingToDocs ........................................................ Passed 0.07 sec Start 517: ModelAnalysisTests.SimulateWithTimes 517/3476 Test #517: ModelAnalysisTests.SimulateWithTimes .............................................................. Passed 0.07 sec Start 518: ModelAnalysisTests.SimulateWithTimesFunction 518/3476 Test #518: ModelAnalysisTests.SimulateWithTimesFunction ...................................................... Passed 0.07 sec Start 519: ModelAnalysisTests.ResetAfterControlCalc 519/3476 Test #519: ModelAnalysisTests.ResetAfterControlCalc .......................................................... Passed 0.33 sec Start 520: ModelAnalysisTests.Stoichiometry_Reactant_Or_Product 520/3476 Test #520: ModelAnalysisTests.Stoichiometry_Reactant_Or_Product .............................................. Passed 0.05 sec Start 521: ModelAnalysisTests.Stoichiometry_Reactant_Or_Product_With_Switching_Conserved_Moiety_ON_And_Off 521/3476 Test #521: ModelAnalysisTests.Stoichiometry_Reactant_Or_Product_With_Switching_Conserved_Moiety_ON_And_Off ... Passed 0.15 sec Start 522: ModelAnalysisTests.Stoichiometry_MultiSpeciesReference 522/3476 Test #522: ModelAnalysisTests.Stoichiometry_MultiSpeciesReference ............................................ Passed 0.05 sec Start 523: ModelAnalysisTests.Set_Gillespie_Random_Seed 523/3476 Test #523: ModelAnalysisTests.Set_Gillespie_Random_Seed ...................................................... Passed 0.06 sec Start 524: ModelEditingTests.SET_INITIAL_VALUE_WITH_INITIAL_ASSIGNMENT 524/3476 Test #524: ModelEditingTests.SET_INITIAL_VALUE_WITH_INITIAL_ASSIGNMENT ....................................... Passed 0.14 sec Start 525: ModelEditingTests.SET_INITIAL_ASSIGNMENT_INIT 525/3476 Test #525: ModelEditingTests.SET_INITIAL_ASSIGNMENT_INIT ..................................................... Passed 0.16 sec Start 526: ModelEditingTests.REMOVE_INITIAL_ASSIGNMENT 526/3476 Test #526: ModelEditingTests.REMOVE_INITIAL_ASSIGNMENT ....................................................... Passed 0.10 sec Start 527: ModelEditingTests.SET_INIT_VALUE_PARAMETER_ONLY_INITIAL_ASSIGNMENT 527/3476 Test #527: ModelEditingTests.SET_INIT_VALUE_PARAMETER_ONLY_INITIAL_ASSIGNMENT ................................ Passed 0.07 sec Start 528: ModelEditingTests.GET_CURRENT_SBML_NO_INITIAL_ASSIGNMENTS 528/3476 Test #528: ModelEditingTests.GET_CURRENT_SBML_NO_INITIAL_ASSIGNMENTS ......................................... Passed 0.06 sec Start 529: ModelEditingTests.SET_BOUNDARY_INIT 529/3476 Test #529: ModelEditingTests.SET_BOUNDARY_INIT ............................................................... Passed 0.18 sec Start 530: ModelEditingTests.CLEAR_MODEL_1 530/3476 Test #530: ModelEditingTests.CLEAR_MODEL_1 ................................................................... Passed 0.09 sec Start 531: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_RATE_LAW_1 531/3476 Test #531: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_RATE_LAW_1 ........................................... Passed 0.08 sec Start 532: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_RATE_LAW_2 532/3476 Test #532: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_RATE_LAW_2 ........................................... Passed 0.09 sec Start 533: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_INITIAL_ASSIGNMENT_1 533/3476 Test #533: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_INITIAL_ASSIGNMENT_1 ................................. Passed 0.05 sec Start 534: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_INITIAL_ASSIGNMENT_2 534/3476 Test #534: ModelEditingTests.ALLOW_EVENT_ASSIGNMENT_AND_INITIAL_ASSIGNMENT_2 ................................. Passed 0.05 sec Start 535: ModelEditingTests.SET_CONSERVED_MOIETY_ANALYSIS 535/3476 Test #535: ModelEditingTests.SET_CONSERVED_MOIETY_ANALYSIS ................................................... Passed 0.07 sec Start 536: ModelEditingTests.REMOVE_ASSIGNMENT_RULE_2 536/3476 Test #536: ModelEditingTests.REMOVE_ASSIGNMENT_RULE_2 ........................................................ Passed 0.10 sec Start 537: ModelEditingTests.REMOVE_ASSIGNMENT_RULE_3 537/3476 Test #537: ModelEditingTests.REMOVE_ASSIGNMENT_RULE_3 ........................................................ Passed 0.10 sec Start 538: ModelEditingTests.REMOVE_RATE_RULE_1 538/3476 Test #538: ModelEditingTests.REMOVE_RATE_RULE_1 .............................................................. Passed 0.10 sec Start 539: ModelEditingTests.REMOVE_RATE_RULE_2 539/3476 Test #539: ModelEditingTests.REMOVE_RATE_RULE_2 .............................................................. Passed 0.11 sec Start 540: ModelEditingTests.REMOVE_RATE_RULE_3 540/3476 Test #540: ModelEditingTests.REMOVE_RATE_RULE_3 .............................................................. Passed 0.11 sec Start 541: ModelEditingTests.REMOVE_RATE_RULE_4 541/3476 Test #541: ModelEditingTests.REMOVE_RATE_RULE_4 .............................................................. Passed 0.11 sec Start 542: ModelEditingTests.ADD_REACTION_1 542/3476 Test #542: ModelEditingTests.ADD_REACTION_1 .................................................................. Passed 0.10 sec Start 543: ModelEditingTests.REMOVE_REACTION_1 543/3476 Test #543: ModelEditingTests.REMOVE_REACTION_1 ............................................................... Passed 0.11 sec Start 544: ModelEditingTests.ADD_REACTION_2 544/3476 Test #544: ModelEditingTests.ADD_REACTION_2 .................................................................. Passed 0.10 sec Start 545: ModelEditingTests.REMOVE_REACTION_2 545/3476 Test #545: ModelEditingTests.REMOVE_REACTION_2 ............................................................... Passed 0.11 sec Start 546: ModelEditingTests.REMOVE_REACTION_3 546/3476 Test #546: ModelEditingTests.REMOVE_REACTION_3 ............................................................... Passed 0.10 sec Start 547: ModelEditingTests.ADD_SPECIES_1 547/3476 Test #547: ModelEditingTests.ADD_SPECIES_1 ................................................................... Passed 0.11 sec Start 548: ModelEditingTests.ADD_REACTION_3 548/3476 Test #548: ModelEditingTests.ADD_REACTION_3 .................................................................. Passed 0.15 sec Start 549: ModelEditingTests.ADD_REACTION_4 549/3476 Test #549: ModelEditingTests.ADD_REACTION_4 .................................................................. Passed 0.15 sec Start 550: ModelEditingTests.ADD_REACTION_5 550/3476 Test #550: ModelEditingTests.ADD_REACTION_5 .................................................................. Passed 0.15 sec Start 551: ModelEditingTests.ADD_REACTION_6 551/3476 Test #551: ModelEditingTests.ADD_REACTION_6 .................................................................. Passed 0.12 sec Start 552: ModelEditingTests.REMOVE_SPECIES_1 552/3476 Test #552: ModelEditingTests.REMOVE_SPECIES_1 ................................................................ Passed 0.13 sec Start 553: ModelEditingTests.REMOVE_SPECIES_2 553/3476 Test #553: ModelEditingTests.REMOVE_SPECIES_2 ................................................................ Passed 0.12 sec Start 554: ModelEditingTests.ADD_EVENT_1 554/3476 Test #554: ModelEditingTests.ADD_EVENT_1 ..................................................................... Passed 0.12 sec Start 555: ModelEditingTests.EVENT_PRIORITY_1 555/3476 Test #555: ModelEditingTests.EVENT_PRIORITY_1 ................................................................ Passed 0.10 sec Start 556: ModelEditingTests.EVENT_DELAY_1 556/3476 Test #556: ModelEditingTests.EVENT_DELAY_1 ................................................................... Passed 0.11 sec Start 557: ModelEditingTests.REMOVE_EVENT_1 557/3476 Test #557: ModelEditingTests.REMOVE_EVENT_1 .................................................................. Passed 0.12 sec Start 558: ModelEditingTests.ADD_PARAMETER_1 558/3476 Test #558: ModelEditingTests.ADD_PARAMETER_1 ................................................................. Passed 0.11 sec Start 559: ModelEditingTests.ADD_COMPARTMENT_1 559/3476 Test #559: ModelEditingTests.ADD_COMPARTMENT_1 ............................................................... Passed 0.11 sec Start 560: ModelEditingTests.ADD_COMPARTMENT_2 560/3476 Test #560: ModelEditingTests.ADD_COMPARTMENT_2 ............................................................... Passed 0.11 sec Start 561: ModelEditingTests.ADD_ASSIGNMENT_RULE_1 561/3476 Test #561: ModelEditingTests.ADD_ASSIGNMENT_RULE_1 ........................................................... Passed 0.10 sec Start 562: ModelEditingTests.ADD_ASSIGNMENT_RULE_2 562/3476 Test #562: ModelEditingTests.ADD_ASSIGNMENT_RULE_2 ........................................................... Passed 0.10 sec Start 563: ModelEditingTests.ADD_ASSIGNMENT_RULE_3 563/3476 Test #563: ModelEditingTests.ADD_ASSIGNMENT_RULE_3 ........................................................... Passed 0.14 sec Start 564: ModelEditingTests.ADD_RATE_RULE_1 564/3476 Test #564: ModelEditingTests.ADD_RATE_RULE_1 ................................................................. Passed 0.10 sec Start 565: ModelEditingTests.ADD_RATE_RULE_2 565/3476 Test #565: ModelEditingTests.ADD_RATE_RULE_2 ................................................................. Passed 0.15 sec Start 566: ModelEditingTests.ADD_RATE_RULE_3 566/3476 Test #566: ModelEditingTests.ADD_RATE_RULE_3 ................................................................. Passed 0.17 sec Start 567: ModelEditingTests.SET_KINETIC_LAW_1 567/3476 Test #567: ModelEditingTests.SET_KINETIC_LAW_1 ............................................................... Passed 0.11 sec Start 568: ModelEditingTests.SET_KINETIC_LAW_2 568/3476 Test #568: ModelEditingTests.SET_KINETIC_LAW_2 ............................................................... Passed 0.16 sec Start 569: ModelEditingTests.SET_KINETIC_LAW_3 569/3476 Test #569: ModelEditingTests.SET_KINETIC_LAW_3 ............................................................... Passed 0.13 sec Start 570: ModelEditingTests.TRANSFORM_1 570/3476 Test #570: ModelEditingTests.TRANSFORM_1 ..................................................................... Passed 0.36 sec Start 571: ModelEditingTests.PAUSE_1 571/3476 Test #571: ModelEditingTests.PAUSE_1 ......................................................................... Passed 0.12 sec Start 572: ModelEditingTests.PAUSE_2 572/3476 Test #572: ModelEditingTests.PAUSE_2 ......................................................................... Passed 0.12 sec Start 573: ModelEditingTests.PAUSE_3 573/3476 Test #573: ModelEditingTests.PAUSE_3 ......................................................................... Passed 0.13 sec Start 574: ModelEditingTests.PAUSE_4 574/3476 Test #574: ModelEditingTests.PAUSE_4 ......................................................................... Passed 0.12 sec Start 575: ModelEditingTests.PAUSE_5 575/3476 Test #575: ModelEditingTests.PAUSE_5 ......................................................................... Passed 0.12 sec Start 576: ModelEditingTests.PAUSE_6 576/3476 Test #576: ModelEditingTests.PAUSE_6 ......................................................................... Passed 0.11 sec Start 577: ModelEditingTests.PAUSE_7 577/3476 Test #577: ModelEditingTests.PAUSE_7 ......................................................................... Passed 0.12 sec Start 578: ModelEditingTests.PAUSE_8 578/3476 Test #578: ModelEditingTests.PAUSE_8 ......................................................................... Passed 0.11 sec Start 579: ModelEditingTests.PAUSE_9 579/3476 Test #579: ModelEditingTests.PAUSE_9 ......................................................................... Passed 0.11 sec Start 580: ModelEditingTests.PAUSE_10 580/3476 Test #580: ModelEditingTests.PAUSE_10 ........................................................................ Passed 0.11 sec Start 581: ModelEditingTests.ADD_EVENT_ASSIGNMENT_1 581/3476 Test #581: ModelEditingTests.ADD_EVENT_ASSIGNMENT_1 .......................................................... Passed 0.12 sec Start 582: ModelEditingTests.REMOVE_RULES_2 582/3476 Test #582: ModelEditingTests.REMOVE_RULES_2 .................................................................. Passed 0.12 sec Start 583: ModelEditingTests.ADD_EVENT_ASSIGNMENT_2 583/3476 Test #583: ModelEditingTests.ADD_EVENT_ASSIGNMENT_2 .......................................................... Passed 0.13 sec Start 584: ModelEditingTests.ADD_RATE_RULE_PARAMETER_1 584/3476 Test #584: ModelEditingTests.ADD_RATE_RULE_PARAMETER_1 ....................................................... Passed 0.12 sec Start 585: ModelEditingTests.ADD_RATE_RULE_PARAMETER_2 585/3476 Test #585: ModelEditingTests.ADD_RATE_RULE_PARAMETER_2 ....................................................... Passed 0.18 sec Start 586: ModelEditingTests.ADD_TRIGGER_1 586/3476 Test #586: ModelEditingTests.ADD_TRIGGER_1 ................................................................... Passed 0.12 sec Start 587: ModelEditingTests.ADD_TRIGGER_2 587/3476 Test #587: ModelEditingTests.ADD_TRIGGER_2 ................................................................... Passed 0.12 sec Start 588: ModelEditingTests.REMOVE_COMPARTMENT_1 588/3476 Test #588: ModelEditingTests.REMOVE_COMPARTMENT_1 ............................................................ Passed 0.12 sec Start 589: ModelEditingTests.REMOVE_COMPARTMENT_2 589/3476 Test #589: ModelEditingTests.REMOVE_COMPARTMENT_2 ............................................................ Passed 0.11 sec Start 590: ModelEditingTests.REMOVE_EVENT_ASSIGNMENT_1 590/3476 Test #590: ModelEditingTests.REMOVE_EVENT_ASSIGNMENT_1 ....................................................... Passed 0.12 sec Start 591: ModelEditingTests.REMOVE_EVENT_ASSIGNMENT_2 591/3476 Test #591: ModelEditingTests.REMOVE_EVENT_ASSIGNMENT_2 ....................................................... Passed 0.11 sec Start 592: ModelEditingTests.REMOVE_PARAMETER_1 592/3476 Test #592: ModelEditingTests.REMOVE_PARAMETER_1 .............................................................. Passed 0.13 sec Start 593: ModelEditingTests.ADD_DELAY_2 593/3476 Test #593: ModelEditingTests.ADD_DELAY_2 ..................................................................... Passed 0.11 sec Start 594: ModelEditingTests.ADD_PRIORITY_2 594/3476 Test #594: ModelEditingTests.ADD_PRIORITY_2 .................................................................. Passed 0.10 sec Start 595: ModelEditingTests.REMOVE_ELEMENT_ASNT_RULE 595/3476 Test #595: ModelEditingTests.REMOVE_ELEMENT_ASNT_RULE ........................................................ Passed 0.06 sec Start 596: ModelEditingTests.REMOVE_ELEMENT_RATE_RULE 596/3476 Test #596: ModelEditingTests.REMOVE_ELEMENT_RATE_RULE ........................................................ Passed 0.06 sec Start 597: ModelEditingTests.FROM_SCRATCH_1 597/3476 Test #597: ModelEditingTests.FROM_SCRATCH_1 .................................................................. Passed 0.13 sec Start 598: ModelEditingTests.FROM_SCRATCH_2 598/3476 Test #598: ModelEditingTests.FROM_SCRATCH_2 .................................................................. Passed 0.21 sec Start 599: ModelEditingTests.FROM_SCRATCH_3 599/3476 Test #599: ModelEditingTests.FROM_SCRATCH_3 .................................................................. Passed 0.08 sec Start 600: ModelEditingTests.FROM_SCRATCH_4 600/3476 Test #600: ModelEditingTests.FROM_SCRATCH_4 .................................................................. Passed 0.07 sec Start 601: ModelEditingTests.FROM_SCRATCH_5 601/3476 Test #601: ModelEditingTests.FROM_SCRATCH_5 .................................................................. Passed 0.21 sec Start 602: ModelEditingTests.FROM_SCRATCH_1_L2V5 602/3476 Test #602: ModelEditingTests.FROM_SCRATCH_1_L2V5 ............................................................. Passed 0.13 sec Start 603: ModelEditingTests.FROM_SCRATCH_1_L3V2 603/3476 Test #603: ModelEditingTests.FROM_SCRATCH_1_L3V2 ............................................................. Passed 0.13 sec Start 604: ModelEditingTests.FROM_SCRATCH_2_L3V2 604/3476 Test #604: ModelEditingTests.FROM_SCRATCH_2_L3V2 ............................................................. Passed 0.16 sec Start 605: ModelEditingTests.FROM_SCRATCH_3_L3V2 605/3476 Test #605: ModelEditingTests.FROM_SCRATCH_3_L3V2 ............................................................. Passed 0.16 sec Start 606: ModelEditingTests.FROM_SCRATCH_2_VALID_L3V1 606/3476 Test #606: ModelEditingTests.FROM_SCRATCH_2_VALID_L3V1 ....................................................... Passed 0.16 sec Start 607: ModelEditingTests.FROM_SCRATCH_3_VALID_L3V1 607/3476 Test #607: ModelEditingTests.FROM_SCRATCH_3_VALID_L3V1 ....................................................... Passed 0.16 sec Start 608: ModelEditingTests.FROM_SCRATCH_1_L3V1 608/3476 Test #608: ModelEditingTests.FROM_SCRATCH_1_L3V1 ............................................................. Passed 0.14 sec Start 609: ModelEditingTests.FROM_SCRATCH_2_L3V1 609/3476 Test #609: ModelEditingTests.FROM_SCRATCH_2_L3V1 ............................................................. Passed 0.21 sec Start 610: ModelEditingTests.FROM_SCRATCH_3_L3V1 610/3476 Test #610: ModelEditingTests.FROM_SCRATCH_3_L3V1 ............................................................. Passed 0.08 sec Start 611: ModelEditingTests.FROM_SCRATCH_4_L3V1 611/3476 Test #611: ModelEditingTests.FROM_SCRATCH_4_L3V1 ............................................................. Passed 0.08 sec Start 612: ModelEditingTests.FROM_SCRATCH_5_L3V1 612/3476 Test #612: ModelEditingTests.FROM_SCRATCH_5_L3V1 ............................................................. Passed 0.22 sec Start 613: ModelEditingTests.FROM_SCRATCH_6 613/3476 Test #613: ModelEditingTests.FROM_SCRATCH_6 .................................................................. Passed 0.18 sec Start 614: ModelEditingTests.SET_PERSISTENT_1 614/3476 Test #614: ModelEditingTests.SET_PERSISTENT_1 ................................................................ Passed 0.13 sec Start 615: ModelEditingTests.SET_PERSISTENT_2 615/3476 Test #615: ModelEditingTests.SET_PERSISTENT_2 ................................................................ Passed 0.12 sec Start 616: ModelEditingTests.SET_CONSTANT_1 616/3476 Test #616: ModelEditingTests.SET_CONSTANT_1 .................................................................. Passed 0.10 sec Start 617: ModelEditingTests.SET_CONSTANT_2 617/3476 Test #617: ModelEditingTests.SET_CONSTANT_2 .................................................................. Passed 0.10 sec Start 618: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_1 618/3476 Test #618: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_1 .................................................. Passed 0.10 sec Start 619: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_2 619/3476 Test #619: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_2 .................................................. Passed 0.12 sec Start 620: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_3 620/3476 Test #620: ModelEditingTests.SET_HAS_ONLY_SUBSTANCE_UNITS_3 .................................................. Passed 0.10 sec Start 621: ModelEditingTests.SET_INITIAL_CONCENTRATION_1 621/3476 Test #621: ModelEditingTests.SET_INITIAL_CONCENTRATION_1 ..................................................... Passed 0.34 sec Start 622: ModelEditingTests.SET_INITIAL_CONCENTRATION_2 622/3476 Test #622: ModelEditingTests.SET_INITIAL_CONCENTRATION_2 ..................................................... Passed 0.23 sec Start 623: ModelEditingTests.SET_INITIAL_AMOUNT_1 623/3476 Test #623: ModelEditingTests.SET_INITIAL_AMOUNT_1 ............................................................ Passed 0.13 sec Start 624: ModelEditingTests.SET_INITIAL_AMOUNT_2 624/3476 Test #624: ModelEditingTests.SET_INITIAL_AMOUNT_2 ............................................................ Passed 0.18 sec Start 625: ModelEditingTests.SET_REVERSIBLE_1 625/3476 Test #625: ModelEditingTests.SET_REVERSIBLE_1 ................................................................ Passed 0.11 sec Start 626: ModelEditingTests.SET_REVERSIBLE_2 626/3476 Test #626: ModelEditingTests.SET_REVERSIBLE_2 ................................................................ Passed 0.11 sec Start 627: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_1 627/3476 Test #627: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_1 ..................................................... Passed 0.11 sec Start 628: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_2 628/3476 Test #628: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_2 ..................................................... Passed 0.11 sec Start 629: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_3 629/3476 Test #629: ModelEditingTests.SET_TRIGGER_INITIAL_VALUE_3 ..................................................... Passed 0.11 sec Start 630: ModelEditingTests.RETAIN_ABSOLUTE_TOLERANCES_1 630/3476 Test #630: ModelEditingTests.RETAIN_ABSOLUTE_TOLERANCES_1 .................................................... Passed 0.07 sec Start 631: ModelEditingTests.RETAIN_ABSOLUTE_TOLERANCES_2 631/3476 Test #631: ModelEditingTests.RETAIN_ABSOLUTE_TOLERANCES_2 .................................................... Passed 0.07 sec Start 632: ModelEditingTests.READD_SPECIES 632/3476 Test #632: ModelEditingTests.READD_SPECIES ................................................................... Passed 0.23 sec Start 633: ModelEditingTests.READD_REACTION 633/3476 Test #633: ModelEditingTests.READD_REACTION .................................................................. Passed 6.14 sec Start 634: ModelEditingTests.READD_COMPARTMENTS 634/3476 Test #634: ModelEditingTests.READD_COMPARTMENTS .............................................................. Passed 6.67 sec Start 635: ModelEditingTests.ONE_ASSIGNMENT_RULE 635/3476 Test #635: ModelEditingTests.ONE_ASSIGNMENT_RULE ............................................................. Passed 0.06 sec Start 636: ModelEditingTests.ADD_INVALID_COMPARTMENT 636/3476 Test #636: ModelEditingTests.ADD_INVALID_COMPARTMENT ......................................................... Passed 0.02 sec Start 637: ModelEditingTests.ADD_INVALID_SPECIES 637/3476 Test #637: ModelEditingTests.ADD_INVALID_SPECIES ............................................................. Passed 0.03 sec Start 638: ModelEditingTests.ADD_INVALID_PARAM 638/3476 Test #638: ModelEditingTests.ADD_INVALID_PARAM ............................................................... Passed 0.02 sec Start 639: ModelEditingTests.ADD_INVALID_RXN 639/3476 Test #639: ModelEditingTests.ADD_INVALID_RXN ................................................................. Passed 0.10 sec Start 640: ModelEditingTests.CHECK_REGENERATE 640/3476 Test #640: ModelEditingTests.CHECK_REGENERATE ................................................................ Passed 0.05 sec Start 641: ModelEditingTests.GET_SET_MODELNAME1 641/3476 Test #641: ModelEditingTests.GET_SET_MODELNAME1 .............................................................. Passed 0.02 sec Start 642: ModelEditingTests.GET_SET_MODELNAME2 642/3476 Test #642: ModelEditingTests.GET_SET_MODELNAME2 .............................................................. Passed 0.03 sec Start 643: ModelEditingTests.GET_SET_MODELID1 643/3476 Test #643: ModelEditingTests.GET_SET_MODELID1 ................................................................ Passed 0.02 sec Start 644: ModelEditingTests.GET_SET_MODELID2 644/3476 Test #644: ModelEditingTests.GET_SET_MODELID2 ................................................................ Passed 0.03 sec Start 645: SBMLFeatures.SBML_qual 645/3476 Test #645: SBMLFeatures.SBML_qual ............................................................................ Passed 0.02 sec Start 646: SBMLFeatures.SBML_spatial 646/3476 Test #646: SBMLFeatures.SBML_spatial ......................................................................... Passed 0.02 sec Start 647: SBMLFeatures.SBML_multi 647/3476 Test #647: SBMLFeatures.SBML_multi ........................................................................... Passed 0.02 sec Start 648: SBMLFeatures.SBML_comp 648/3476 Test #648: SBMLFeatures.SBML_comp ............................................................................ Passed 0.02 sec Start 649: SBMLFeatures.SBML_comp_fromString 649/3476 Test #649: SBMLFeatures.SBML_comp_fromString ................................................................. Passed 0.02 sec Start 650: SBMLFeatures.SBML_qual_fromString 650/3476 Test #650: SBMLFeatures.SBML_qual_fromString ................................................................. Passed 0.02 sec Start 651: SBMLFeatures.SBML_spatial_fromString 651/3476 Test #651: SBMLFeatures.SBML_spatial_fromString .............................................................. Passed 0.02 sec Start 652: SBMLFeatures.SBML_multi_fromString 652/3476 Test #652: SBMLFeatures.SBML_multi_fromString ................................................................ Passed 0.02 sec Start 653: SBMLFeatures.SBML_fbc 653/3476 Test #653: SBMLFeatures.SBML_fbc ............................................................................. Passed 0.07 sec Start 654: SBMLFeatures.variable_stoich_rr_simulate 654/3476 Test #654: SBMLFeatures.variable_stoich_rr_simulate .......................................................... Passed 0.04 sec Start 655: SBMLFeatures.variable_stoich_ar_simulate 655/3476 Test #655: SBMLFeatures.variable_stoich_ar_simulate .......................................................... Passed 0.04 sec Start 656: SBMLFeatures.variable_stoich_ar_const_simulate 656/3476 Test #656: SBMLFeatures.variable_stoich_ar_const_simulate .................................................... Passed 0.04 sec Start 657: SBMLFeatures.variable_stoich_event_simulate 657/3476 Test #657: SBMLFeatures.variable_stoich_event_simulate ....................................................... Passed 0.04 sec Start 658: SBMLFeatures.variable_stoich_rr_set_initial 658/3476 Test #658: SBMLFeatures.variable_stoich_rr_set_initial ....................................................... Passed 0.04 sec Start 659: SBMLFeatures.variable_stoich_ar_set_throws 659/3476 Test #659: SBMLFeatures.variable_stoich_ar_set_throws ........................................................ Passed 0.04 sec Start 660: SBMLFeatures.variable_stoich_ar_const_set_throws 660/3476 Test #660: SBMLFeatures.variable_stoich_ar_const_set_throws .................................................. Passed 0.04 sec Start 661: SBMLFeatures.variable_stoich_event_set_initial 661/3476 Test #661: SBMLFeatures.variable_stoich_event_set_initial .................................................... Passed 0.04 sec Start 662: SBMLFeatures.variable_stoich_rr_reset_restores_initial 662/3476 Test #662: SBMLFeatures.variable_stoich_rr_reset_restores_initial ............................................ Passed 0.07 sec Start 663: SBMLFeatures.variable_stoich_rr_full_reset_restores_initial 663/3476 Test #663: SBMLFeatures.variable_stoich_rr_full_reset_restores_initial ....................................... Passed 0.07 sec Start 664: SBMLFeatures.variable_stoich_event_full_reset_restores_initial 664/3476 Test #664: SBMLFeatures.variable_stoich_event_full_reset_restores_initial .................................... Passed 0.07 sec Start 665: SBMLFeatures.dual_rate_rule_stoich_selectors 665/3476 Test #665: SBMLFeatures.dual_rate_rule_stoich_selectors ...................................................... Passed 0.05 sec Start 666: SBMLFeatures.multi_reactant_rate_rule_on_one 666/3476 Test #666: SBMLFeatures.multi_reactant_rate_rule_on_one ...................................................... Passed 0.08 sec Start 667: SBMLFeatures.multi_reactant_rate_rule_on_both 667/3476 Test #667: SBMLFeatures.multi_reactant_rate_rule_on_both ..................................................... Passed 0.11 sec Start 668: SBMLFeatures.multi_reactant_assignment_rule_on_one 668/3476 Test #668: SBMLFeatures.multi_reactant_assignment_rule_on_one ................................................ Passed 0.08 sec Start 669: SBMLFeatures.multi_reactant_assignment_rule_on_both 669/3476 Test #669: SBMLFeatures.multi_reactant_assignment_rule_on_both ............................................... Passed 0.10 sec Start 670: SBMLFeatures.multi_reactant_mixed_rate_and_assignment_rule 670/3476 Test #670: SBMLFeatures.multi_reactant_mixed_rate_and_assignment_rule ........................................ Passed 0.11 sec Start 671: SBMLFeatures.multi_reactant_rate_rule_reset_semantics 671/3476 Test #671: SBMLFeatures.multi_reactant_rate_rule_reset_semantics ............................................. Passed 0.11 sec Start 672: SBMLFeatures.variable_stoich_rr_selection_type 672/3476 Test #672: SBMLFeatures.variable_stoich_rr_selection_type .................................................... Passed 0.04 sec Start 673: SBMLFeatures.variable_stoich_ar_selection_type 673/3476 Test #673: SBMLFeatures.variable_stoich_ar_selection_type .................................................... Passed 0.04 sec Start 674: SBMLFeatures.variable_stoich_ar_const_selection_type 674/3476 Test #674: SBMLFeatures.variable_stoich_ar_const_selection_type .............................................. Passed 0.04 sec Start 675: SBMLFeatures.variable_stoich_event_selection_type 675/3476 Test #675: SBMLFeatures.variable_stoich_event_selection_type ................................................. Passed 0.04 sec Start 676: SBMLFeatures.named_boundary_stoich_assignment_rule 676/3476 Test #676: SBMLFeatures.named_boundary_stoich_assignment_rule ................................................ Passed 0.05 sec Start 677: SBMLFeatures.named_boundary_stoich_rate_rule 677/3476 Test #677: SBMLFeatures.named_boundary_stoich_rate_rule ...................................................... Passed 0.05 sec Start 678: SBMLFeatures.named_boundary_stoich_rate_rule_reset_semantics 678/3476 Test #678: SBMLFeatures.named_boundary_stoich_rate_rule_reset_semantics ...................................... Passed 0.08 sec Start 679: SBMLFeatures.named_boundary_stoich_referenced_by_other_stoich_assignment_rule 679/3476 Test #679: SBMLFeatures.named_boundary_stoich_referenced_by_other_stoich_assignment_rule ..................... Passed 0.05 sec Start 680: SBMLFeatures.named_stoich_list 680/3476 Test #680: SBMLFeatures.named_stoich_list .................................................................... Passed 0.05 sec Start 681: SBMLFeatures.issue1306_named_stoich_value 681/3476 Test #681: SBMLFeatures.issue1306_named_stoich_value ......................................................... Passed 0.05 sec Start 682: SBMLFeatures.issue1306_named_stoich_steadyState 682/3476 Test #682: SBMLFeatures.issue1306_named_stoich_steadyState ................................................... Passed 0.15 sec Start 683: SBMLFeatures.named_stoich_init_value 683/3476 Test #683: SBMLFeatures.named_stoich_init_value .............................................................. Passed 0.15 sec Start 684: SBMLFeatures.named_stoich_values 684/3476 Test #684: SBMLFeatures.named_stoich_values .................................................................. Passed 0.05 sec Start 685: SBMLFeatures.add_rule_to_named_stoich 685/3476 Test #685: SBMLFeatures.add_rule_to_named_stoich ............................................................. Passed 0.15 sec Start 686: SBMLFeatures.add_rate_rule_to_reactant_stoich 686/3476 Test #686: SBMLFeatures.add_rate_rule_to_reactant_stoich ..................................................... Passed 0.09 sec Start 687: SBMLFeatures.add_assignment_rule_to_reactant_stoich_tracks_time 687/3476 Test #687: SBMLFeatures.add_assignment_rule_to_reactant_stoich_tracks_time ................................... Passed 0.08 sec Start 688: SBMLFeatures.set_value_on_multi_reactant_stoich_before_simulate 688/3476 Test #688: SBMLFeatures.set_value_on_multi_reactant_stoich_before_simulate ................................... Passed 0.05 sec Start 689: SBMLFeatures.multi_product_stoich_collision_set_one_of_two 689/3476 Test #689: SBMLFeatures.multi_product_stoich_collision_set_one_of_two ........................................ Passed 0.05 sec Start 690: SBMLFeatures.multi_reactant_product_cross_collision_set_one_of_two 690/3476 Test #690: SBMLFeatures.multi_reactant_product_cross_collision_set_one_of_two ................................ Passed 0.05 sec Start 691: SBMLFeatures.multi_reactant_stoich_set_via_selector_throws 691/3476 Test #691: SBMLFeatures.multi_reactant_stoich_set_via_selector_throws ........................................ Passed 0.05 sec Start 692: SBMLFeatures.named_stoich_selectors 692/3476 Test #692: SBMLFeatures.named_stoich_selectors ............................................................... Passed 0.05 sec Start 693: SBMLFeatures.named_stoich_set_and_reset 693/3476 Test #693: SBMLFeatures.named_stoich_set_and_reset ........................................................... Passed 0.04 sec Start 694: SBMLFeatures.get_named_stoich_value_from_model 694/3476 Test #694: SBMLFeatures.get_named_stoich_value_from_model .................................................... Passed 0.05 sec Start 695: SBMLFeatures.named_stoich_init_and_current_are_independent 695/3476 Test #695: SBMLFeatures.named_stoich_init_and_current_are_independent ........................................ Passed 0.08 sec Start 696: SBMLFeatures.named_stoich_init_and_current_are_independent_multi_reactant 696/3476 Test #696: SBMLFeatures.named_stoich_init_and_current_are_independent_multi_reactant ......................... Passed 0.07 sec Start 697: SBMLFeatures.unnamed_stoich_init_and_current_are_independent 697/3476 Test #697: SBMLFeatures.unnamed_stoich_init_and_current_are_independent ...................................... Passed 0.21 sec Start 698: SBMLFeatures.named_stoich_reflected_in_current_sbml 698/3476 Test #698: SBMLFeatures.named_stoich_reflected_in_current_sbml ............................................... Passed 0.05 sec Start 699: SBMLFeatures.named_stoich_init_reflected_in_sbml 699/3476 Test #699: SBMLFeatures.named_stoich_init_reflected_in_sbml .................................................. Passed 0.15 sec Start 700: SBMLFeatures.stoich_selector_set_reflected_in_sbml 700/3476 Test #700: SBMLFeatures.stoich_selector_set_reflected_in_sbml ................................................ Passed 0.18 sec Start 701: SBMLFeatures.named_boundary_stoich_value 701/3476 Test #701: SBMLFeatures.named_boundary_stoich_value .......................................................... Passed 0.05 sec Start 702: SBMLFeatures.named_boundary_stoich_init_value 702/3476 Test #702: SBMLFeatures.named_boundary_stoich_init_value ..................................................... Passed 0.08 sec Start 703: SBMLFeatures.named_boundary_stoich_init_and_current_are_independent 703/3476 Test #703: SBMLFeatures.named_boundary_stoich_init_and_current_are_independent ............................... Passed 0.08 sec Start 704: SBMLFeatures.named_boundary_stoich_no_species_reaction_form 704/3476 Test #704: SBMLFeatures.named_boundary_stoich_no_species_reaction_form ....................................... Passed 0.05 sec Start 705: SBMLFeatures.named_boundary_stoich_used_in_kinetic_law 705/3476 Test #705: SBMLFeatures.named_boundary_stoich_used_in_kinetic_law ............................................ Passed 0.05 sec Start 706: SBMLFeatures.named_boundary_stoich_reflected_in_sbml 706/3476 Test #706: SBMLFeatures.named_boundary_stoich_reflected_in_sbml .............................................. Passed 0.08 sec Start 707: CVODEIntegratorTests.TestSimpleFluxWithRoadRunner 707/3476 Test #707: CVODEIntegratorTests.TestSimpleFluxWithRoadRunner ................................................. Passed 0.05 sec Start 708: CVODEIntegratorTests.TestModel269WithRoadRunner 708/3476 Test #708: CVODEIntegratorTests.TestModel269WithRoadRunner ................................................... Passed 0.05 sec Start 709: CVODEIntegratorTests.TestModel28WithRoadRunner 709/3476 Test #709: CVODEIntegratorTests.TestModel28WithRoadRunner .................................................... Passed 0.05 sec Start 710: CVODEIntegratorTests.TestFactorialInRateLawWithRoadRunner 710/3476 Test #710: CVODEIntegratorTests.TestFactorialInRateLawWithRoadRunner ......................................... Passed 0.05 sec Start 711: CVODEIntegratorTests.SimpleFluxWithRoadRunner 711/3476 Test #711: CVODEIntegratorTests.SimpleFluxWithRoadRunner ..................................................... Passed 0.05 sec Start 712: CVODEIntegratorTests.OpenLinearFluxWithRoadRunner 712/3476 Test #712: CVODEIntegratorTests.OpenLinearFluxWithRoadRunner ................................................. Passed 0.05 sec Start 713: CVODEIntegratorTests.OneEvent10TriggersWithRoadRunner 713/3476 Test #713: CVODEIntegratorTests.OneEvent10TriggersWithRoadRunner ............................................. Passed 0.04 sec Start 714: CVODEIntegratorTests.TestSimpleFluxWithModel 714/3476 Test #714: CVODEIntegratorTests.TestSimpleFluxWithModel ...................................................... Passed 0.05 sec Start 715: CVODEIntegratorTests.TestModel269WithModel 715/3476 Test #715: CVODEIntegratorTests.TestModel269WithModel ........................................................ Passed 0.05 sec Start 716: CVODEIntegratorTests.TestModel28WithModel 716/3476 Test #716: CVODEIntegratorTests.TestModel28WithModel ......................................................... Passed 0.05 sec Start 717: CVODEIntegratorTests.SimpleFluxWithModel 717/3476 Test #717: CVODEIntegratorTests.SimpleFluxWithModel .......................................................... Passed 0.05 sec Start 718: CVODEIntegratorTests.OpenLinearFluxWithModel 718/3476 Test #718: CVODEIntegratorTests.OpenLinearFluxWithModel ...................................................... Passed 0.05 sec Start 719: CVODEIntegratorTests.FactorialInRateLawWithModel 719/3476 Test #719: CVODEIntegratorTests.FactorialInRateLawWithModel .................................................. Passed 0.05 sec Start 720: CVODEIntegratorTests.OneEvent10Triggers 720/3476 Test #720: CVODEIntegratorTests.OneEvent10Triggers ........................................................... Passed 0.05 sec Start 721: CVODEIntegratorTests.CheckAbsToleranceDefaults 721/3476 Test #721: CVODEIntegratorTests.CheckAbsToleranceDefaults .................................................... Passed 0.19 sec Start 722: CVODEIntegratorTests.CheckAbsToleranceNegValues 722/3476 Test #722: CVODEIntegratorTests.CheckAbsToleranceNegValues ................................................... Passed 0.05 sec Start 723: CVODEIntegratorTests.CheckAbsToleranceSetDouble 723/3476 Test #723: CVODEIntegratorTests.CheckAbsToleranceSetDouble ................................................... Passed 0.13 sec Start 724: CVODEIntegratorTests.CheckAbsToleranceSetVector 724/3476 Test #724: CVODEIntegratorTests.CheckAbsToleranceSetVector ................................................... Passed 0.05 sec Start 725: CVODEIntegratorTests.VariableStepLastRowIsAsAccurateAsTheOthers 725/3476 Test #725: CVODEIntegratorTests.VariableStepLastRowIsAsAccurateAsTheOthers ................................... Passed 0.11 sec Start 726: CVODEIntegratorTests.VariableStepSimulationEndsAtTheRequestedEndTime 726/3476 Test #726: CVODEIntegratorTests.VariableStepSimulationEndsAtTheRequestedEndTime .............................. Passed 0.04 sec Start 727: CVODEIntegratorTests.AbsToleranceDoesNotFollowTheCurrentState 727/3476 Test #727: CVODEIntegratorTests.AbsToleranceDoesNotFollowTheCurrentState ..................................... Passed 0.04 sec Start 728: CVODEIntegratorTests.StackedSimulationsOfADecayToZero 728/3476 Test #728: CVODEIntegratorTests.StackedSimulationsOfADecayToZero ............................................. Passed 0.04 sec Start 729: CVODEIntegratorTests.IndividualTolerancesSurviveRegeneratingTheModel 729/3476 Test #729: CVODEIntegratorTests.IndividualTolerancesSurviveRegeneratingTheModel .............................. Passed 0.07 sec Start 730: CVODEIntegratorTests.AbsToleranceVectorIgnoresInitialValuesButScalarFollowsThem 730/3476 Test #730: CVODEIntegratorTests.AbsToleranceVectorIgnoresInitialValuesButScalarFollowsThem ................... Passed 0.24 sec Start 731: CVODEIntegratorTests.AbsToleranceOfARateRuleStoichiometryUsesItsInitialValue 731/3476 Test #731: CVODEIntegratorTests.AbsToleranceOfARateRuleStoichiometryUsesItsInitialValue ...................... Passed 0.05 sec Start 732: CVODEIntegratorTests.VariableStepEventRowsDoNotDependOnEarlierIntegrations 732/3476 Test #732: CVODEIntegratorTests.VariableStepEventRowsDoNotDependOnEarlierIntegrations ........................ Passed 0.07 sec Start 733: CVODEIntegratorTests.VariableStepEventRowOffsetFollowsTheTimeOfTheEvent 733/3476 Test #733: CVODEIntegratorTests.VariableStepEventRowOffsetFollowsTheTimeOfTheEvent ........................... Passed 0.07 sec Start 734: CVODEIntegratorTests.CvodeWarningsAreNotLoggedBelowLogLevelWarning 734/3476 Test #734: CVODEIntegratorTests.CvodeWarningsAreNotLoggedBelowLogLevelWarning ................................ Passed 0.08 sec Start 735: CVODEIntegratorTests.CvodeWarningsAreLoggedFromLogLevelWarning 735/3476 Test #735: CVODEIntegratorTests.CvodeWarningsAreLoggedFromLogLevelWarning .................................... Passed 0.06 sec Start 736: CVODEIntegratorTests.CvodeWarningsAreNotWrittenToStdout 736/3476 Test #736: CVODEIntegratorTests.CvodeWarningsAreNotWrittenToStdout ........................................... Passed 0.04 sec Start 737: CVODEIntegratorTests.CvodeWarningsFollowTheLogLevelBetweenRuns 737/3476 Test #737: CVODEIntegratorTests.CvodeWarningsFollowTheLogLevelBetweenRuns .................................... Passed 0.04 sec Start 738: CVODEIntegratorTests.SimultaneousEventsAreOrderedRandomly 738/3476 Test #738: CVODEIntegratorTests.SimultaneousEventsAreOrderedRandomly ......................................... Passed 0.04 sec Start 739: CVODEIntegratorTests.SimultaneousEventsAreOrderedRepeatablyWithASeed 739/3476 Test #739: CVODEIntegratorTests.SimultaneousEventsAreOrderedRepeatablyWithASeed .............................. Passed 0.04 sec Start 740: CVODEIntegratorTests.SetSeedWithoutResetKeepsTheCurrentAndInitialValuesAndTheTime 740/3476 Test #740: CVODEIntegratorTests.SetSeedWithoutResetKeepsTheCurrentAndInitialValuesAndTheTime ................. Passed 0.06 sec Start 741: CVODEIntegratorTests.SetSeedResetsTheModelByDefault 741/3476 Test #741: CVODEIntegratorTests.SetSeedResetsTheModelByDefault ............................................... Passed 0.04 sec Start 742: CVODEConservedMoietyTests.IndividualTolerancesSurviveRegeneratingTheModel 742/3476 Test #742: CVODEConservedMoietyTests.IndividualTolerancesSurviveRegeneratingTheModel ......................... Passed 0.12 sec Start 743: CVODEIntegratorUnitTests.loadConfigSettings 743/3476 Test #743: CVODEIntegratorUnitTests.loadConfigSettings ....................................................... Passed 0.02 sec Start 744: CVODEIntegratorUnitTests.loadSBMLSettings 744/3476 Test #744: CVODEIntegratorUnitTests.loadSBMLSettings .........................................................***Not Run (Disabled) 0.00 sec Start 745: CVODEIntegratorUnitTests.setValue 745/3476 Test #745: CVODEIntegratorUnitTests.setValue ................................................................. Passed 0.02 sec Start 746: CVODEIntegratorUnitTests.resetSettings 746/3476 Test #746: CVODEIntegratorUnitTests.resetSettings ............................................................ Passed 0.02 sec Start 747: CVODEIntegratorUnitTests.ResetSettingsRelativeTolerance 747/3476 Test #747: CVODEIntegratorUnitTests.ResetSettingsRelativeTolerance ........................................... Passed 0.02 sec Start 748: CVODEIntegratorUnitTests.ResetSettingsAbsoluteTolerance 748/3476 Test #748: CVODEIntegratorUnitTests.ResetSettingsAbsoluteTolerance ........................................... Passed 0.02 sec Start 749: CVODEIntegratorUnitTests.ResetSettingsStiff 749/3476 Test #749: CVODEIntegratorUnitTests.ResetSettingsStiff ....................................................... Passed 0.02 sec Start 750: CVODEIntegratorUnitTests.ResetSettingsMaximumBdfOrder 750/3476 Test #750: CVODEIntegratorUnitTests.ResetSettingsMaximumBdfOrder ............................................. Passed 0.02 sec Start 751: CVODEIntegratorUnitTests.ResetSettingsMaximumAdamsOrder 751/3476 Test #751: CVODEIntegratorUnitTests.ResetSettingsMaximumAdamsOrder ........................................... Passed 0.02 sec Start 752: CVODEIntegratorUnitTests.ResetSettingsMaximumNumSteps 752/3476 Test #752: CVODEIntegratorUnitTests.ResetSettingsMaximumNumSteps ............................................. Passed 0.02 sec Start 753: CVODEIntegratorUnitTests.ResetSettingsMaximumTimeStep 753/3476 Test #753: CVODEIntegratorUnitTests.ResetSettingsMaximumTimeStep ............................................. Passed 0.02 sec Start 754: CVODEIntegratorUnitTests.ResetSettingsMinimumTimeStep 754/3476 Test #754: CVODEIntegratorUnitTests.ResetSettingsMinimumTimeStep ............................................. Passed 0.01 sec Start 755: CVODEIntegratorUnitTests.ResetSettingsInitialTimeStep 755/3476 Test #755: CVODEIntegratorUnitTests.ResetSettingsInitialTimeStep ............................................. Passed 0.02 sec Start 756: CVODEIntegratorUnitTests.ResetSettingsMultipleSteps 756/3476 Test #756: CVODEIntegratorUnitTests.ResetSettingsMultipleSteps ............................................... Passed 0.02 sec Start 757: CVODEIntegratorUnitTests.ResetSettingsVariableStepSize 757/3476 Test #757: CVODEIntegratorUnitTests.ResetSettingsVariableStepSize ............................................ Passed 0.01 sec Start 758: CVODEIntegratorUnitTests.ResetSettingsMaxOutputRows 758/3476 Test #758: CVODEIntegratorUnitTests.ResetSettingsMaxOutputRows ............................................... Passed 0.01 sec Start 759: CVODEIntegratorUnitTests.tweakTolerancess 759/3476 Test #759: CVODEIntegratorUnitTests.tweakTolerancess .........................................................***Not Run (Disabled) 0.00 sec Start 760: CVODEIntegratorUnitTests.restart 760/3476 Test #760: CVODEIntegratorUnitTests.restart .................................................................. Passed 0.02 sec Start 761: CVODEIntegratorUnitTests.SetIndividualToleranceRateRuleComesBeforeSpecies 761/3476 Test #761: CVODEIntegratorUnitTests.SetIndividualToleranceRateRuleComesBeforeSpecies ......................... Passed 0.02 sec Start 762: CVODEIntegratorUnitTests.SetIndividualToleranceForSpeciesIsOffsetByRateRuleCount 762/3476 Test #762: CVODEIntegratorUnitTests.SetIndividualToleranceForSpeciesIsOffsetByRateRuleCount .................. Passed 0.02 sec Start 763: CVODEIntegratorUnitTests.AbsoluteToleranceVectorPacksRateRulesBeforeSpecies 763/3476 Test #763: CVODEIntegratorUnitTests.AbsoluteToleranceVectorPacksRateRulesBeforeSpecies ....................... Passed 0.01 sec Start 764: CVODEIntegratorUnitTests.AbsoluteToleranceVectorOfWrongSizeFallsBackToTheDefault 764/3476 Test #764: CVODEIntegratorUnitTests.AbsoluteToleranceVectorOfWrongSizeFallsBackToTheDefault .................. Passed 0.01 sec Start 765: ApproxSteadyStateDecoratorTests.CheckModelNotNullptr 765/3476 Test #765: ApproxSteadyStateDecoratorTests.CheckModelNotNullptr .............................................. Passed 0.05 sec Start 766: ApproxSteadyStateDecoratorTests.CheckNameField 766/3476 Test #766: ApproxSteadyStateDecoratorTests.CheckNameField .................................................... Passed 0.05 sec Start 767: ApproxSteadyStateDecoratorTests.CheckModelTimeAfterPresimulation 767/3476 Test #767: ApproxSteadyStateDecoratorTests.CheckModelTimeAfterPresimulation .................................. Passed 0.05 sec Start 768: ApproxSteadyStateDecoratorTests.CheckSteadyStateValuesAfterApproximation 768/3476 Test #768: ApproxSteadyStateDecoratorTests.CheckSteadyStateValuesAfterApproximation .......................... Passed 0.05 sec Start 769: ApproxSteadyStateDecoratorTests.CheckApproxSteadyStateDecoratorHasAccessToSolverVariables 769/3476 Test #769: ApproxSteadyStateDecoratorTests.CheckApproxSteadyStateDecoratorHasAccessToSolverVariables ......... Passed 0.05 sec Start 770: ApproxSteadyStateDecoratorTests.CheckSolveTwiceTwoRRInstances 770/3476 Test #770: ApproxSteadyStateDecoratorTests.CheckSolveTwiceTwoRRInstances ..................................... Passed 0.05 sec Start 771: ApproxSteadyStateDecoratorTests.CheckSolveTwiceBackToBack 771/3476 Test #771: ApproxSteadyStateDecoratorTests.CheckSolveTwiceBackToBack ......................................... Passed 0.05 sec Start 772: AutomaticMoietyAnalysisTests.NeededOnOn 772/3476 Test #772: AutomaticMoietyAnalysisTests.NeededOnOn ........................................................... Passed 0.10 sec Start 773: AutomaticMoietyAnalysisTests.NeededOnOff 773/3476 Test #773: AutomaticMoietyAnalysisTests.NeededOnOff .......................................................... Passed 0.16 sec Start 774: AutomaticMoietyAnalysisTests.NeededOffOn 774/3476 Test #774: AutomaticMoietyAnalysisTests.NeededOffOn .......................................................... Passed 0.11 sec Start 775: AutomaticMoietyAnalysisTests.NotNeededOnOn 775/3476 Test #775: AutomaticMoietyAnalysisTests.NotNeededOnOn ........................................................ Passed 0.11 sec Start 776: AutomaticMoietyAnalysisTests.NotNeededOnOff 776/3476 Test #776: AutomaticMoietyAnalysisTests.NotNeededOnOff ....................................................... Passed 0.20 sec Start 777: AutomaticMoietyAnalysisTests.NotNeededOffOn 777/3476 Test #777: AutomaticMoietyAnalysisTests.NotNeededOffOn ....................................................... Passed 0.11 sec Start 778: AutomaticMoietyAnalysisTests.NotNeededOffOff 778/3476 Test #778: AutomaticMoietyAnalysisTests.NotNeededOffOff ...................................................... Passed 0.14 sec Start 779: BasicNewtonIterationUnitTest.SolveUsingSolverDirectly 779/3476 Test #779: BasicNewtonIterationUnitTest.SolveUsingSolverDirectly ............................................. Passed 0.05 sec Start 780: BasicNewtonIterationUnitTest.ChangeAndResetSettings 780/3476 Test #780: BasicNewtonIterationUnitTest.ChangeAndResetSettings ............................................... Passed 0.05 sec Start 781: BasicNewtonIterationUnitTest.RegenerateTheModelBeforeCreatingSolver 781/3476 Test #781: BasicNewtonIterationUnitTest.RegenerateTheModelBeforeCreatingSolver ............................... Passed 0.08 sec Start 782: BasicNewtonIterationUnitTest.RegenerateTheModelAfterCreatingSolver 782/3476 Test #782: BasicNewtonIterationUnitTest.RegenerateTheModelAfterCreatingSolver ................................ Passed 0.08 sec Start 783: BasicNewtonSettingsTests.NumMaxIters 783/3476 Test #783: BasicNewtonSettingsTests.NumMaxIters .............................................................. Passed 0.08 sec Start 784: BasicNewtonSettingsTests.PrintLevel 784/3476 Test #784: BasicNewtonSettingsTests.PrintLevel ............................................................... Passed 0.08 sec Start 785: BasicNewtonSettingsTests.NoInitSetup 785/3476 Test #785: BasicNewtonSettingsTests.NoInitSetup .............................................................. Passed 0.08 sec Start 786: BasicNewtonSettingsTests.EtaForm 786/3476 Test #786: BasicNewtonSettingsTests.EtaForm .................................................................. Passed 0.08 sec Start 787: BasicNewtonSettingsTests.NoResMonitoring 787/3476 Test #787: BasicNewtonSettingsTests.NoResMonitoring .......................................................... Passed 0.08 sec Start 788: BasicNewtonSettingsTests.MaxSetupCalls 788/3476 Test #788: BasicNewtonSettingsTests.MaxSetupCalls ............................................................ Passed 0.08 sec Start 789: BasicNewtonSettingsTests.MaxSubsetupCalls 789/3476 Test #789: BasicNewtonSettingsTests.MaxSubsetupCalls ......................................................... Passed 0.08 sec Start 790: BasicNewtonSettingsTests.EtaConstantValue 790/3476 Test #790: BasicNewtonSettingsTests.EtaConstantValue ......................................................... Passed 0.08 sec Start 791: BasicNewtonSettingsTests.EtaParamGamma 791/3476 Test #791: BasicNewtonSettingsTests.EtaParamGamma ............................................................ Passed 0.08 sec Start 792: BasicNewtonSettingsTests.EtaParamAlpha 792/3476 Test #792: BasicNewtonSettingsTests.EtaParamAlpha ............................................................ Passed 0.08 sec Start 793: BasicNewtonSettingsTests.ResMonMin 793/3476 Test #793: BasicNewtonSettingsTests.ResMonMin ................................................................ Passed 0.08 sec Start 794: BasicNewtonSettingsTests.ResMonMax 794/3476 Test #794: BasicNewtonSettingsTests.ResMonMax ................................................................ Passed 0.08 sec Start 795: BasicNewtonSettingsTests.ResMonConstantValue 795/3476 Test #795: BasicNewtonSettingsTests.ResMonConstantValue ...................................................... Passed 0.08 sec Start 796: BasicNewtonSettingsTests.NoMinEps 796/3476 Test #796: BasicNewtonSettingsTests.NoMinEps ................................................................. Passed 0.08 sec Start 797: BasicNewtonSettingsTests.MaxNewtonStep 797/3476 Test #797: BasicNewtonSettingsTests.MaxNewtonStep ............................................................ Passed 0.08 sec Start 798: BasicNewtonSettingsTests.MaxBetaFails 798/3476 Test #798: BasicNewtonSettingsTests.MaxBetaFails ............................................................. Passed 0.08 sec Start 799: BasicNewtonSettingsTests.FuncNormTol 799/3476 Test #799: BasicNewtonSettingsTests.FuncNormTol .............................................................. Passed 0.08 sec Start 800: BasicNewtonSettingsTests.ScaledStepTol 800/3476 Test #800: BasicNewtonSettingsTests.ScaledStepTol ............................................................ Passed 0.08 sec Start 801: PresimulationDecoratorTests.CheckModelNotNullptrBasicNewton 801/3476 Test #801: PresimulationDecoratorTests.CheckModelNotNullptrBasicNewton ....................................... Passed 0.05 sec Start 802: PresimulationDecoratorTests.CheckPresimulationNameField 802/3476 Test #802: PresimulationDecoratorTests.CheckPresimulationNameField ........................................... Passed 0.05 sec Start 803: PresimulationDecoratorTests.CheckModelTimeAfterPresimulation 803/3476 Test #803: PresimulationDecoratorTests.CheckModelTimeAfterPresimulation ...................................... Passed 0.05 sec Start 804: PresimulationDecoratorTests.CheckSteadyStateValuesAfterPresimulation 804/3476 Test #804: PresimulationDecoratorTests.CheckSteadyStateValuesAfterPresimulation .............................. Passed 0.05 sec Start 805: PresimulationDecoratorTests.CheckPresimulationDecoratorHasAccessToSolverVariables 805/3476 Test #805: PresimulationDecoratorTests.CheckPresimulationDecoratorHasAccessToSolverVariables ................. Passed 0.05 sec Start 806: PresimulationDecoratorTests.CheckSolveTwiceTwoRRInstances 806/3476 Test #806: PresimulationDecoratorTests.CheckSolveTwiceTwoRRInstances ......................................... Passed 0.05 sec Start 807: PresimulationDecoratorTests.CheckSolveTwiceBackToBack 807/3476 Test #807: PresimulationDecoratorTests.CheckSolveTwiceBackToBack ............................................. Passed 0.05 sec Start 808: SixByFiveMatrixTests.SingularValues 808/3476 Test #808: SixByFiveMatrixTests.SingularValues ............................................................... Passed 0.03 sec Start 809: SixByFiveMatrixTests.LeftSingularVectors 809/3476 Test #809: SixByFiveMatrixTests.LeftSingularVectors .......................................................... Passed 0.02 sec Start 810: SixByFiveMatrixTests.RightingularVectors 810/3476 Test #810: SixByFiveMatrixTests.RightingularVectors .......................................................... Passed 0.02 sec Start 811: SixByFiveMatrixTests.Rank 811/3476 Test #811: SixByFiveMatrixTests.Rank ......................................................................... Passed 0.02 sec Start 812: SixByFiveMatrixTests.IsSingular 812/3476 Test #812: SixByFiveMatrixTests.IsSingular ................................................................... Passed 0.02 sec Start 813: TwoByThreeMatrixTests.SingularValues 813/3476 Test #813: TwoByThreeMatrixTests.SingularValues .............................................................. Passed 0.02 sec Start 814: TwoByThreeMatrixTests.LeftSingularVector 814/3476 Test #814: TwoByThreeMatrixTests.LeftSingularVector .......................................................... Passed 0.02 sec Start 815: TwoByThreeMatrixTests.RightSingularVector 815/3476 Test #815: TwoByThreeMatrixTests.RightSingularVector ......................................................... Passed 0.02 sec Start 816: TwoByThreeMatrixTests.Rank 816/3476 Test #816: TwoByThreeMatrixTests.Rank ........................................................................ Passed 0.02 sec Start 817: TwoByThreeMatrixTests.IsSingular 817/3476 Test #817: TwoByThreeMatrixTests.IsSingular .................................................................. Passed 0.02 sec Start 818: TwoByFourMatrixTests.SingularValues 818/3476 Test #818: TwoByFourMatrixTests.SingularValues ............................................................... Passed 0.02 sec Start 819: TwoByFourMatrixTests.LeftSingularVector 819/3476 Test #819: TwoByFourMatrixTests.LeftSingularVector ........................................................... Passed 0.02 sec Start 820: TwoByFourMatrixTests.RightSingularVector 820/3476 Test #820: TwoByFourMatrixTests.RightSingularVector .......................................................... Passed 0.02 sec Start 821: TwoByFourMatrixTests.Rank 821/3476 Test #821: TwoByFourMatrixTests.Rank ......................................................................... Passed 0.02 sec Start 822: TwoByFourMatrixTests.IsSingular 822/3476 Test #822: TwoByFourMatrixTests.IsSingular ................................................................... Passed 0.02 sec Start 823: SingularMatrixTests.SingularValues 823/3476 Test #823: SingularMatrixTests.SingularValues ................................................................ Passed 0.02 sec Start 824: SingularMatrixTests.LeftSingularVector 824/3476 Test #824: SingularMatrixTests.LeftSingularVector ............................................................ Passed 0.02 sec Start 825: SingularMatrixTests.RightSingularVector 825/3476 Test #825: SingularMatrixTests.RightSingularVector ........................................................... Passed 0.02 sec Start 826: SingularMatrixTests.Rank 826/3476 Test #826: SingularMatrixTests.Rank .......................................................................... Passed 0.01 sec Start 827: SingularMatrixTests.IsSingular 827/3476 Test #827: SingularMatrixTests.IsSingular .................................................................... Passed 0.02 sec Start 828: LineSearchNewtonIterationTests.CheckCorrectSteadyStateOpenLinearFlux 828/3476 Test #828: LineSearchNewtonIterationTests.CheckCorrectSteadyStateOpenLinearFlux .............................. Passed 0.11 sec Start 829: LineSearchNewtonIterationTests.CheckCorrectSteadyStateSimpleFluxManuallyReduced 829/3476 Test #829: LineSearchNewtonIterationTests.CheckCorrectSteadyStateSimpleFluxManuallyReduced ................... Passed 0.15 sec Start 830: LineSearchNewtonIterationTests.CheckCorrectSteadyStateSimpleFlux 830/3476 Test #830: LineSearchNewtonIterationTests.CheckCorrectSteadyStateSimpleFlux .................................. Passed 0.08 sec Start 831: LineSearchNewtonIterationTests.CheckCorrectSteadyStateVenkatraman2010 831/3476 Test #831: LineSearchNewtonIterationTests.CheckCorrectSteadyStateVenkatraman2010 ............................. Passed 0.22 sec Start 832: LineSearchNewtonIterationTests.CheckCorrectSteadyStateBrown2004 832/3476 Test #832: LineSearchNewtonIterationTests.CheckCorrectSteadyStateBrown2004 ................................... Passed 0.36 sec Start 833: LineSearchNewtonIterationTests.CheckCorrectSteadyStateBimolecularEnd 833/3476 Test #833: LineSearchNewtonIterationTests.CheckCorrectSteadyStateBimolecularEnd .............................. Passed 0.17 sec Start 834: LineSearchNewtonIterationTests.CheckCorrectSteadyStateFluxBimolecularEnd 834/3476 Test #834: LineSearchNewtonIterationTests.CheckCorrectSteadyStateFluxBimolecularEnd .......................... Passed 0.17 sec Start 835: DecoratorIntegrationTests.NoDecoratorsAdded 835/3476 Test #835: DecoratorIntegrationTests.NoDecoratorsAdded ....................................................... Passed 0.14 sec Start 836: DecoratorIntegrationTests.PresimulationOnly 836/3476 Test #836: DecoratorIntegrationTests.PresimulationOnly ....................................................... Passed 0.14 sec Start 837: DecoratorIntegrationTests.ApproximationOnly 837/3476 Test #837: DecoratorIntegrationTests.ApproximationOnly ....................................................... Passed 0.14 sec Start 838: DecoratorIntegrationTests.CombineApproxAndPresimDecorators 838/3476 Test #838: DecoratorIntegrationTests.CombineApproxAndPresimDecorators ........................................ Passed 0.14 sec Start 839: SundialsNewtonIterationTests.CheckDecoratorRemovedAfterSolving 839/3476 Test #839: SundialsNewtonIterationTests.CheckDecoratorRemovedAfterSolving .................................... Passed 0.14 sec Start 840: SundialsNewtonIterationTests.CheckDecoratorRemovedAfterFailureToSolve 840/3476 Test #840: SundialsNewtonIterationTests.CheckDecoratorRemovedAfterFailureToSolve ............................. Passed 0.14 sec Start 841: SundialsNewtonIterationTests.CheckRaiseErrorWhenNotConverge 841/3476 Test #841: SundialsNewtonIterationTests.CheckRaiseErrorWhenNotConverge ....................................... Passed 0.14 sec Start 842: SundialsNewtonIterationTests.CheckNewtonIterationIsARegisteredSolver 842/3476 Test #842: SundialsNewtonIterationTests.CheckNewtonIterationIsARegisteredSolver .............................. Passed 0.05 sec Start 843: SundialsNewtonIterationTests.CheckCorrectSteadyStateOpenLinearFlux 843/3476 Test #843: SundialsNewtonIterationTests.CheckCorrectSteadyStateOpenLinearFlux ................................ Passed 0.11 sec Start 844: SundialsNewtonIterationTests.CheckCorrectSteadyStateSimpleFluxManuallyReduced 844/3476 Test #844: SundialsNewtonIterationTests.CheckCorrectSteadyStateSimpleFluxManuallyReduced ..................... Passed 0.15 sec Start 845: SundialsNewtonIterationTests.CheckCorrectSteadyStateSimpleFlux 845/3476 Test #845: SundialsNewtonIterationTests.CheckCorrectSteadyStateSimpleFlux .................................... Passed 0.08 sec Start 846: SundialsNewtonIterationTests.CheckCorrectSteadyStateVenkatraman2010 846/3476 Test #846: SundialsNewtonIterationTests.CheckCorrectSteadyStateVenkatraman2010 ............................... Passed 0.22 sec Start 847: SundialsNewtonIterationTests.CheckCorrectSteadyStateBrown2004 847/3476 Test #847: SundialsNewtonIterationTests.CheckCorrectSteadyStateBrown2004 ..................................... Passed 0.36 sec Start 848: SundialsNewtonIterationTests.CheckCorrectSteadyStateBimolecularEnd 848/3476 Test #848: SundialsNewtonIterationTests.CheckCorrectSteadyStateBimolecularEnd ................................ Passed 0.17 sec Start 849: SundialsNewtonIterationTests.CheckCorrectSteadyStateFluxesBimolecularEnd 849/3476 Test #849: SundialsNewtonIterationTests.CheckCorrectSteadyStateFluxesBimolecularEnd .......................... Passed 0.17 sec Start 850: FFSUnitTests.getGlobalParameterNames 850/3476 Test #850: FFSUnitTests.getGlobalParameterNames .............................................................. Passed 0.05 sec Start 851: FFSUnitTests.getVariableNames 851/3476 Test #851: FFSUnitTests.getVariableNames ..................................................................... Passed 0.05 sec Start 852: FFSUnitTests.CheckValueOfNp 852/3476 Test #852: FFSUnitTests.CheckValueOfNp ....................................................................... Passed 0.05 sec Start 853: FFSUnitTests.CheckValueOfNsWhenDefaultToAllParameters 853/3476 Test #853: FFSUnitTests.CheckValueOfNsWhenDefaultToAllParameters ............................................. Passed 0.05 sec Start 854: FFSUnitTests.CheckValueOfNsWhenSelectingParameters 854/3476 Test #854: FFSUnitTests.CheckValueOfNsWhenSelectingParameters ................................................ Passed 0.05 sec Start 855: FFSUnitTests.CheckValueOfNumModelVariables 855/3476 Test #855: FFSUnitTests.CheckValueOfNumModelVariables ........................................................ Passed 0.05 sec Start 856: FFSUnitTests.getModelParametersAsMap 856/3476 Test #856: FFSUnitTests.getModelParametersAsMap .............................................................. Passed 0.05 sec Start 857: FFSUnitTests.getModelParametersAsVector 857/3476 Test #857: FFSUnitTests.getModelParametersAsVector ........................................................... Passed 0.05 sec Start 858: FFSUnitTests.deducePlistDefaultToAllParameters 858/3476 Test #858: FFSUnitTests.deducePlistDefaultToAllParameters .................................................... Passed 0.05 sec Start 859: FFSUnitTests.deducePlistFirstParameter 859/3476 Test #859: FFSUnitTests.deducePlistFirstParameter ............................................................ Passed 0.05 sec Start 860: FFSUnitTests.deducePlistSecondParameter 860/3476 Test #860: FFSUnitTests.deducePlistSecondParameter ........................................................... Passed 0.05 sec Start 861: FFSUnitTests.RunTwoSensitivityAnalysesBackToBack 861/3476 Test #861: FFSUnitTests.RunTwoSensitivityAnalysesBackToBack .................................................. Passed 0.05 sec Start 862: FFSUnitTests.AddParameterCheckNp 862/3476 Test #862: FFSUnitTests.AddParameterCheckNp .................................................................. Passed 0.08 sec Start 863: FFSUnitTests.AddParameterCheckNs 863/3476 Test #863: FFSUnitTests.AddParameterCheckNs .................................................................. Passed 0.08 sec Start 864: FFSUnitTests.SettingsNonLinearSolver 864/3476 Test #864: FFSUnitTests.SettingsNonLinearSolver .............................................................. Passed 0.05 sec Start 865: FFSUnitTests.ChangeSolverSettingAndRegenerateModel 865/3476 Test #865: FFSUnitTests.ChangeSolverSettingAndRegenerateModel ................................................ Passed 0.08 sec Start 866: FFSUnitTests.SolveSensitivitiesForSelectiveParameters1 866/3476 Test #866: FFSUnitTests.SolveSensitivitiesForSelectiveParameters1 ............................................ Passed 0.05 sec Start 867: FFSUnitTests.SolveSensitivitiesForSelectiveParameters2 867/3476 Test #867: FFSUnitTests.SolveSensitivitiesForSelectiveParameters2 ............................................ Passed 0.05 sec Start 868: FFSUnitTests.SolveTwiceWithDifferentParametersBothTimes 868/3476 Test #868: FFSUnitTests.SolveTwiceWithDifferentParametersBothTimes ........................................... Passed 0.08 sec Start 869: FFSUnitTests.SolveTwiceWithDifferentParametersBothTimesEmptySecond 869/3476 Test #869: FFSUnitTests.SolveTwiceWithDifferentParametersBothTimesEmptySecond ................................ Passed 0.08 sec Start 870: FFSUnitTests.SolveSensitivitiesForSelectiveSpecies 870/3476 Test #870: FFSUnitTests.SolveSensitivitiesForSelectiveSpecies ................................................ Passed 0.05 sec Start 871: FFSIntegrationTests.CheckTimeSeriesAccurateTestSimpleFlux 871/3476 Test #871: FFSIntegrationTests.CheckTimeSeriesAccurateTestSimpleFlux ......................................... Passed 0.05 sec Start 872: FFSIntegrationTests.CheckTimeSeriesAccurateOpenLinearFlux 872/3476 Test #872: FFSIntegrationTests.CheckTimeSeriesAccurateOpenLinearFlux ......................................... Passed 0.05 sec Start 873: FFSIntegrationTests.CheckTimeSeriesAccurateTestModel269 873/3476 Test #873: FFSIntegrationTests.CheckTimeSeriesAccurateTestModel269 ........................................... Passed 0.05 sec Start 874: FFSIntegrationTests.CheckTimeSeriesAccurateTestModel28 874/3476 Test #874: FFSIntegrationTests.CheckTimeSeriesAccurateTestModel28 ............................................ Passed 0.05 sec Start 875: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestSimpleFlux 875/3476 Test #875: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestSimpleFlux ..................................... Passed 0.05 sec Start 876: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestModel269 876/3476 Test #876: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestModel269 ....................................... Passed 0.05 sec Start 877: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestModel28 877/3476 Test #877: FFSIntegrationTests.CheckTimeSeriesSensAccurateTestModel28 ........................................ Passed 0.05 sec Start 878: FFSIntegrationTests.CheckTimeSeriesSensAccurateOpenLinearFlux 878/3476 Test #878: FFSIntegrationTests.CheckTimeSeriesSensAccurateOpenLinearFlux ..................................... Passed 0.05 sec Start 879: SettingTests.TestSettingTypeMonostate 879/3476 Test #879: SettingTests.TestSettingTypeMonostate ............................................................. Passed 0.02 sec Start 880: SettingTests.TestSettingTypeString 880/3476 Test #880: SettingTests.TestSettingTypeString ................................................................ Passed 0.02 sec Start 881: SettingTests.TestSettingTypeBool 881/3476 Test #881: SettingTests.TestSettingTypeBool .................................................................. Passed 0.02 sec Start 882: SettingTests.TestSettingTypeInt32_t 882/3476 Test #882: SettingTests.TestSettingTypeInt32_t ............................................................... Passed 0.02 sec Start 883: SettingTests.TestSettingTypeUint32_t 883/3476 Test #883: SettingTests.TestSettingTypeUint32_t .............................................................. Passed 0.02 sec Start 884: SettingTests.TestSettingTypeInt64_t 884/3476 Test #884: SettingTests.TestSettingTypeInt64_t ............................................................... Passed 0.02 sec Start 885: SettingTests.TestSettingTypeUint64_t 885/3476 Test #885: SettingTests.TestSettingTypeUint64_t .............................................................. Passed 0.02 sec Start 886: SettingTests.TestSettingTypeFloat 886/3476 Test #886: SettingTests.TestSettingTypeFloat ................................................................. Passed 0.02 sec Start 887: SettingTests.TestSettingTypeDouble 887/3476 Test #887: SettingTests.TestSettingTypeDouble ................................................................ Passed 0.02 sec Start 888: SettingTests.TestSettingTypeChar 888/3476 Test #888: SettingTests.TestSettingTypeChar .................................................................. Passed 0.02 sec Start 889: SettingTests.TestSettingTypeUnsignedChar 889/3476 Test #889: SettingTests.TestSettingTypeUnsignedChar .......................................................... Passed 0.02 sec Start 890: SettingTests.TestSettingTypeDoubleVector 890/3476 Test #890: SettingTests.TestSettingTypeDoubleVector .......................................................... Passed 0.02 sec Start 891: SettingTests.TestImplicitCastToMonostate 891/3476 Test #891: SettingTests.TestImplicitCastToMonostate .......................................................... Passed 0.02 sec Start 892: SettingTests.TestImplicitCastToString 892/3476 Test #892: SettingTests.TestImplicitCastToString ............................................................. Passed 0.02 sec Start 893: SettingTests.TestImplicitCastToStringAndDoSomethingWithIt 893/3476 Test #893: SettingTests.TestImplicitCastToStringAndDoSomethingWithIt ......................................... Passed 0.02 sec Start 894: SettingTests.TestImplicitCastToBool 894/3476 Test #894: SettingTests.TestImplicitCastToBool ............................................................... Passed 0.02 sec Start 895: SettingTests.TestImplicitCastToInt32_t 895/3476 Test #895: SettingTests.TestImplicitCastToInt32_t ............................................................ Passed 0.02 sec Start 896: SettingTests.TestImplicitCastToUint32_t 896/3476 Test #896: SettingTests.TestImplicitCastToUint32_t ........................................................... Passed 0.02 sec Start 897: SettingTests.TestImplicitCastToInt64_t 897/3476 Test #897: SettingTests.TestImplicitCastToInt64_t ............................................................ Passed 0.02 sec Start 898: SettingTests.TestImplicitCastToUint64_t 898/3476 Test #898: SettingTests.TestImplicitCastToUint64_t ........................................................... Passed 0.02 sec Start 899: SettingTests.TestImplicitCastToFloat 899/3476 Test #899: SettingTests.TestImplicitCastToFloat .............................................................. Passed 0.02 sec Start 900: SettingTests.TestImplicitCastToDouble 900/3476 Test #900: SettingTests.TestImplicitCastToDouble ............................................................. Passed 0.02 sec Start 901: SettingTests.TestImplicitCastToChar 901/3476 Test #901: SettingTests.TestImplicitCastToChar ............................................................... Passed 0.02 sec Start 902: SettingTests.TestImplicitCastToUnsignedChar 902/3476 Test #902: SettingTests.TestImplicitCastToUnsignedChar ....................................................... Passed 0.02 sec Start 903: SettingTests.TestImplicitCastToDoubleVector 903/3476 Test #903: SettingTests.TestImplicitCastToDoubleVector ....................................................... Passed 0.02 sec Start 904: SettingTests.ImplicitCastIntToUInt 904/3476 Test #904: SettingTests.ImplicitCastIntToUInt ................................................................ Passed 0.02 sec Start 905: SettingTests.ImplicitCastIntToLong 905/3476 Test #905: SettingTests.ImplicitCastIntToLong ................................................................ Passed 0.02 sec Start 906: SettingTests.ImplicitCastIntToULong 906/3476 Test #906: SettingTests.ImplicitCastIntToULong ............................................................... Passed 0.02 sec Start 907: SettingTests.ImplicitCastNegativeIntToUInt 907/3476 Test #907: SettingTests.ImplicitCastNegativeIntToUInt ........................................................ Passed 0.02 sec Start 908: SettingTests.ImplicitCastNegativeIntToULong 908/3476 Test #908: SettingTests.ImplicitCastNegativeIntToULong ....................................................... Passed 0.02 sec Start 909: SettingTests.ImplicitCastLongToIntOutOfBounds 909/3476 Test #909: SettingTests.ImplicitCastLongToIntOutOfBounds ..................................................... Passed 0.02 sec Start 910: SettingTests.ImplicitCastLongToNegIntOutOfBounds 910/3476 Test #910: SettingTests.ImplicitCastLongToNegIntOutOfBounds .................................................. Passed 0.02 sec Start 911: SettingTests.ImplicitCastLongToInt 911/3476 Test #911: SettingTests.ImplicitCastLongToInt ................................................................ Passed 0.02 sec Start 912: SettingTests.ImplicitCastLongToUInt 912/3476 Test #912: SettingTests.ImplicitCastLongToUInt ............................................................... Passed 0.02 sec Start 913: SettingTests.ImplicitCastLongToULong 913/3476 Test #913: SettingTests.ImplicitCastLongToULong .............................................................. Passed 0.02 sec Start 914: SettingTests.ImplicitCastStringToConstCharStar 914/3476 Test #914: SettingTests.ImplicitCastStringToConstCharStar .................................................... Passed 0.02 sec Start 915: SettingTests.ImplicitInstantiateFromBool 915/3476 Test #915: SettingTests.ImplicitInstantiateFromBool .......................................................... Passed 0.02 sec Start 916: SettingTests.ImplicitInstantiateFromBoolInAMap 916/3476 Test #916: SettingTests.ImplicitInstantiateFromBoolInAMap .................................................... Passed 0.02 sec Start 917: SettingTests.ImplicitInstantiateFromStringInAMap 917/3476 Test #917: SettingTests.ImplicitInstantiateFromStringInAMap .................................................. Passed 0.02 sec Start 918: SettingTests.GetUnsignedIntFromInt 918/3476 Test #918: SettingTests.GetUnsignedIntFromInt ................................................................ Passed 0.02 sec Start 919: SettingTests.GetAsBadTypeRequest 919/3476 Test #919: SettingTests.GetAsBadTypeRequest .................................................................. Passed 0.02 sec Start 920: SettingTests.GetIfTestWithString 920/3476 Test #920: SettingTests.GetIfTestWithString .................................................................. Passed 0.02 sec Start 921: SettingTests.GetIfTestWithInt 921/3476 Test #921: SettingTests.GetIfTestWithInt ..................................................................... Passed 0.02 sec Start 922: SettingTests.GetIfWhenValueNotRightType 922/3476 Test #922: SettingTests.GetIfWhenValueNotRightType ........................................................... Passed 0.02 sec Start 923: SettingTests.PutSettingInAVectorAndEqualityOp 923/3476 Test #923: SettingTests.PutSettingInAVectorAndEqualityOp ..................................................... Passed 0.02 sec Start 924: SettingTests.ImplicitCastFromSettingInAVector 924/3476 Test #924: SettingTests.ImplicitCastFromSettingInAVector ..................................................... Passed 0.02 sec Start 925: SettingTests.EqualityOperatorWithStringsForwards 925/3476 Test #925: SettingTests.EqualityOperatorWithStringsForwards .................................................. Passed 0.02 sec Start 926: SettingTests.EqualityOperatorWithStringsBackwards 926/3476 Test #926: SettingTests.EqualityOperatorWithStringsBackwards ................................................. Passed 0.02 sec Start 927: SettingTests.InEqualityOperatorWithStringsForwards 927/3476 Test #927: SettingTests.InEqualityOperatorWithStringsForwards ................................................ Passed 0.02 sec Start 928: SettingTests.InEqualityOperatorWithStringsBackwards 928/3476 Test #928: SettingTests.InEqualityOperatorWithStringsBackwards ............................................... Passed 0.02 sec Start 929: SettingTests.EqualityWithTemporaryLongFwd 929/3476 Test #929: SettingTests.EqualityWithTemporaryLongFwd .........................................................***Not Run (Disabled) 0.00 sec Start 930: SettingTests.EqualityWithTemporaryLongBkwd 930/3476 Test #930: SettingTests.EqualityWithTemporaryLongBkwd ........................................................***Not Run (Disabled) 0.00 sec Start 931: SettingTests.EqualityOperatorWithIntFwd 931/3476 Test #931: SettingTests.EqualityOperatorWithIntFwd ........................................................... Passed 0.02 sec Start 932: SettingTests.EqualityOperatorWithIntBkwd 932/3476 Test #932: SettingTests.EqualityOperatorWithIntBkwd ..........................................................***Not Run (Disabled) 0.00 sec Start 933: SettingTests.InEqualityOperatorWithIntFwd 933/3476 Test #933: SettingTests.InEqualityOperatorWithIntFwd ......................................................... Passed 0.02 sec Start 934: SettingTests.InEqualityOperatorWithIntBkwd 934/3476 Test #934: SettingTests.InEqualityOperatorWithIntBkwd ........................................................***Not Run (Disabled) 0.00 sec Start 935: SettingTests.CheckIsTypeWhenTrue 935/3476 Test #935: SettingTests.CheckIsTypeWhenTrue .................................................................. Passed 0.02 sec Start 936: SettingTests.CheckIsTypeWhenFalse 936/3476 Test #936: SettingTests.CheckIsTypeWhenFalse ................................................................. Passed 0.02 sec Start 937: SettingTests.CheckTypeIntIsValid 937/3476 Test #937: SettingTests.CheckTypeIntIsValid .................................................................. Passed 0.02 sec Start 938: SettingTests.CheckTypeConstCharStarIsInvalid 938/3476 Test #938: SettingTests.CheckTypeConstCharStarIsInvalid ...................................................... Passed 0.02 sec Start 939: SettingTests.AssignmentOperatorSettingToSetting 939/3476 Test #939: SettingTests.AssignmentOperatorSettingToSetting ................................................... Passed 0.02 sec Start 940: SettingTests.AssignmentOperatorIntToString 940/3476 Test #940: SettingTests.AssignmentOperatorIntToString ........................................................ Passed 0.02 sec Start 941: SettingTests.AssignmentOperatorMonostateToBool 941/3476 Test #941: SettingTests.AssignmentOperatorMonostateToBool .................................................... Passed 0.02 sec Start 942: SettingTests.AssignmentOperatorUIntToDouble 942/3476 Test #942: SettingTests.AssignmentOperatorUIntToDouble ....................................................... Passed 0.02 sec Start 943: SettingTests.PassingASettingToFunction 943/3476 Test #943: SettingTests.PassingASettingToFunction ............................................................ Passed 0.02 sec Start 944: SettingTests.InAMap 944/3476 Test #944: SettingTests.InAMap ............................................................................... Passed 0.02 sec Start 945: SettingTests.InAMapAssignNewValue 945/3476 Test #945: SettingTests.InAMapAssignNewValue ................................................................. Passed 0.02 sec Start 946: SettingTests.InAMapImplicitInstantiationOfInt 946/3476 Test #946: SettingTests.InAMapImplicitInstantiationOfInt ..................................................... Passed 0.02 sec Start 947: SettingTests.TypeThatUsesSettingsMapChangeTheInt 947/3476 Test #947: SettingTests.TypeThatUsesSettingsMapChangeTheInt .................................................. Passed 0.02 sec Start 948: SettingTests.TypeThatUsesSettingsMapChangeTheString 948/3476 Test #948: SettingTests.TypeThatUsesSettingsMapChangeTheString ............................................... Passed 0.02 sec Start 949: SettingTests.TypeThatUsesSettingsMapChangeTheStringFromLiteral 949/3476 Test #949: SettingTests.TypeThatUsesSettingsMapChangeTheStringFromLiteral .................................... Passed 0.01 sec Start 950: SettingTests.EqualityWithString 950/3476 Test #950: SettingTests.EqualityWithString ................................................................... Passed 0.01 sec Start 951: SettingTests.CheckThatWhenYouCreateAStringSettingThatItIsAStringNotBool 951/3476 Test #951: SettingTests.CheckThatWhenYouCreateAStringSettingThatItIsAStringNotBool ........................... Passed 0.02 sec Start 952: SettingTests.TypeThatUsesSettingsMapChangeUsingASetting 952/3476 Test #952: SettingTests.TypeThatUsesSettingsMapChangeUsingASetting ........................................... Passed 0.02 sec Start 953: SettingTests.CastFromSettingToDoubleVector 953/3476 Test #953: SettingTests.CastFromSettingToDoubleVector ........................................................ Passed 0.02 sec Start 954: SettingTests.TypeInfoIsAccurateForInt 954/3476 Test #954: SettingTests.TypeInfoIsAccurateForInt ............................................................. Passed 0.02 sec Start 955: SettingTests.UseVisitorWrapper 955/3476 Test #955: SettingTests.UseVisitorWrapper .................................................................... Passed 0.02 sec Start 956: RoadRunnerAPITestsWithMCJit.DefaultJacobianMode 956/3476 Test #956: RoadRunnerAPITestsWithMCJit.DefaultJacobianMode ................................................... Passed 0.02 sec Start 957: RoadRunnerAPITestsWithMCJit.SetJacobianModeToAmt 957/3476 Test #957: RoadRunnerAPITestsWithMCJit.SetJacobianModeToAmt .................................................. Passed 0.02 sec Start 958: RoadRunnerAPITestsWithMCJit.GetFullJacobianDefaultConfigSettings 958/3476 Test #958: RoadRunnerAPITestsWithMCJit.GetFullJacobianDefaultConfigSettings .................................. Passed 0.05 sec Start 959: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingConcMode 959/3476 Test #959: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingConcMode .......................................... Passed 0.05 sec Start 960: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingAmtMode 960/3476 Test #960: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingAmtMode ........................................... Passed 0.05 sec Start 961: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingAmtModeAsLong 961/3476 Test #961: RoadRunnerAPITestsWithMCJit.GetFullJacobianUsingAmtModeAsLong ..................................... Passed 0.05 sec Start 962: RoadRunnerAPITestsWithMCJit.getIds 962/3476 Test #962: RoadRunnerAPITestsWithMCJit.getIds ................................................................ Passed 0.05 sec Start 963: RoadRunnerAPITestsWithMCJit.getIdsAfterRegenerate 963/3476 Test #963: RoadRunnerAPITestsWithMCJit.getIdsAfterRegenerate ................................................. Passed 0.08 sec Start 964: RoadRunnerAPITestsWithMCJit.getIdsAfterSetConservedMoiety 964/3476 Test #964: RoadRunnerAPITestsWithMCJit.getIdsAfterSetConservedMoiety .........................................***Not Run (Disabled) 0.00 sec Start 965: RoadRunnerAPITestsWithMCJit.LoadModelWithOnlyLayoutInformation 965/3476 Test #965: RoadRunnerAPITestsWithMCJit.LoadModelWithOnlyLayoutInformation .................................... Passed 0.05 sec Start 966: RoadRunnerAPITestsWithMCJit.loadSBMLWithLeadingNewlineCharacter 966/3476 Test #966: RoadRunnerAPITestsWithMCJit.loadSBMLWithLeadingNewlineCharacter ................................... Passed 0.05 sec Start 967: RoadRunnerAPITestsWithMCJit.RoadRunnerConstructorVersion 967/3476 Test #967: RoadRunnerAPITestsWithMCJit.RoadRunnerConstructorVersion .......................................... Passed 0.14 sec Start 968: RoadRunnerAPITestsWithMCJit.RoadRunnerConstructorFromURL 968/3476 Test #968: RoadRunnerAPITestsWithMCJit.RoadRunnerConstructorFromURL ..........................................***Not Run (Disabled) 0.00 sec Start 969: RoadRunnerAPITestsWithMCJit.CompilerTempDirSupportCodeDir 969/3476 Test #969: RoadRunnerAPITestsWithMCJit.CompilerTempDirSupportCodeDir .........................................***Not Run (Disabled) 0.00 sec Start 970: RoadRunnerAPITestsWithMCJit.CopyConstructor 970/3476 Test #970: RoadRunnerAPITestsWithMCJit.CopyConstructor ....................................................... Passed 0.05 sec Start 971: RoadRunnerAPITestsWithMCJit.EqualityOperators 971/3476 Test #971: RoadRunnerAPITestsWithMCJit.EqualityOperators .....................................................***Not Run (Disabled) 0.00 sec Start 972: RoadRunnerAPITestsWithMCJit.InequalityOperators 972/3476 Test #972: RoadRunnerAPITestsWithMCJit.InequalityOperators ...................................................***Not Run (Disabled) 0.00 sec Start 973: RoadRunnerAPITestsWithMCJit.getInstanceID 973/3476 Test #973: RoadRunnerAPITestsWithMCJit.getInstanceID ......................................................... Passed 0.05 sec Start 974: RoadRunnerAPITestsWithMCJit.getInstanceCount 974/3476 Test #974: RoadRunnerAPITestsWithMCJit.getInstanceCount ...................................................... Passed 0.05 sec Start 975: RoadRunnerAPITestsWithMCJit.getParamPromotedSBML 975/3476 Test #975: RoadRunnerAPITestsWithMCJit.getParamPromotedSBML .................................................. Passed 0.02 sec Start 976: RoadRunnerAPITestsWithMCJit.getCompiler 976/3476 Test #976: RoadRunnerAPITestsWithMCJit.getCompiler ...........................................................***Not Run (Disabled) 0.00 sec Start 977: RoadRunnerAPITestsWithMCJit.IsModelLoadedWhenFalse 977/3476 Test #977: RoadRunnerAPITestsWithMCJit.IsModelLoadedWhenFalse ................................................ Passed 0.02 sec Start 978: RoadRunnerAPITestsWithMCJit.IsModelLoadedWhenTrue 978/3476 Test #978: RoadRunnerAPITestsWithMCJit.IsModelLoadedWhenTrue ................................................. Passed 0.05 sec Start 979: RoadRunnerAPITestsWithMCJit.getConservedMoietyAnalysisWhenFalse 979/3476 Test #979: RoadRunnerAPITestsWithMCJit.getConservedMoietyAnalysisWhenFalse ................................... Passed 0.05 sec Start 980: RoadRunnerAPITestsWithMCJit.getConservedMoietyAnalysisWhenTrue 980/3476 Test #980: RoadRunnerAPITestsWithMCJit.getConservedMoietyAnalysisWhenTrue .................................... Passed 0.08 sec Start 981: RoadRunnerAPITestsWithMCJit.tmpDir 981/3476 Test #981: RoadRunnerAPITestsWithMCJit.tmpDir ................................................................ Passed 0.05 sec Start 982: RoadRunnerAPITestsWithMCJit.getModelName 982/3476 Test #982: RoadRunnerAPITestsWithMCJit.getModelName .......................................................... Passed 0.05 sec Start 983: RoadRunnerAPITestsWithMCJit.clearModel 983/3476 Test #983: RoadRunnerAPITestsWithMCJit.clearModel ............................................................ Passed 0.05 sec Start 984: RoadRunnerAPITestsWithMCJit.oneStep 984/3476 Test #984: RoadRunnerAPITestsWithMCJit.oneStep ............................................................... Passed 0.05 sec Start 985: RoadRunnerAPITestsWithMCJit.internalOneStep 985/3476 Test #985: RoadRunnerAPITestsWithMCJit.internalOneStep ....................................................... Passed 0.05 sec Start 986: RoadRunnerAPITestsWithMCJit.saveState 986/3476 Test #986: RoadRunnerAPITestsWithMCJit.saveState ............................................................. Passed 0.05 sec Start 987: RoadRunnerAPITestsWithMCJit.loadState 987/3476 Test #987: RoadRunnerAPITestsWithMCJit.loadState ............................................................. Passed 0.05 sec Start 988: RoadRunnerAPITestsWithMCJit.loadStateFromCopy 988/3476 Test #988: RoadRunnerAPITestsWithMCJit.loadStateFromCopy ..................................................... Passed 0.05 sec Start 989: RoadRunnerAPITestsWithMCJit.getSimulationData 989/3476 Test #989: RoadRunnerAPITestsWithMCJit.getSimulationData ..................................................... Passed 0.05 sec Start 990: RoadRunnerAPITestsWithMCJit.setSimulateOptions 990/3476 Test #990: RoadRunnerAPITestsWithMCJit.setSimulateOptions .................................................... Passed 0.05 sec Start 991: RoadRunnerAPITestsWithMCJit.getSBML 991/3476 Test #991: RoadRunnerAPITestsWithMCJit.getSBML ............................................................... Passed 0.05 sec Start 992: RoadRunnerAPITestsWithMCJit.getCurrentSBML 992/3476 Test #992: RoadRunnerAPITestsWithMCJit.getCurrentSBML ........................................................ Passed 0.05 sec Start 993: RoadRunnerAPITestsWithMCJit.reset 993/3476 Test #993: RoadRunnerAPITestsWithMCJit.reset ................................................................. Passed 0.05 sec Start 994: RoadRunnerAPITestsWithMCJit.getCurrentTime 994/3476 Test #994: RoadRunnerAPITestsWithMCJit.getCurrentTime ........................................................ Passed 0.05 sec Start 995: RoadRunnerAPITestsWithMCJit.resetSelectionLists 995/3476 Test #995: RoadRunnerAPITestsWithMCJit.resetSelectionLists ................................................... Passed 0.05 sec Start 996: RoadRunnerAPITestsWithMCJit.getSelections 996/3476 Test #996: RoadRunnerAPITestsWithMCJit.getSelections ......................................................... Passed 0.05 sec Start 997: RoadRunnerAPITestsWithMCJit.getValue 997/3476 Test #997: RoadRunnerAPITestsWithMCJit.getValue .............................................................. Passed 0.05 sec Start 998: RoadRunnerAPITestsWithMCJit.setSelections 998/3476 Test #998: RoadRunnerAPITestsWithMCJit.setSelections ......................................................... Passed 0.05 sec Start 999: RoadRunnerAPITestsWithMCJit.getSelectedValues 999/3476 Test #999: RoadRunnerAPITestsWithMCJit.getSelectedValues ..................................................... Passed 0.05 sec Start 1000: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesIds 1000/3476 Test #1000: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesIds ...................................... Passed 0.08 sec Start 1001: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesIds 1001/3476 Test #1001: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesIds ........................................ Passed 0.08 sec Start 1002: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesInitialConcentrations 1002/3476 Test #1002: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesInitialConcentrations ............................... Passed 0.05 sec Start 1003: RoadRunnerAPITestsWithMCJit.getSupportedIdTypes 1003/3476 Test #1003: RoadRunnerAPITestsWithMCJit.getSupportedIdTypes ...................................................***Not Run (Disabled) 0.00 sec Start 1004: RoadRunnerAPITestsWithMCJit.setValue 1004/3476 Test #1004: RoadRunnerAPITestsWithMCJit.setValue .............................................................. Passed 0.05 sec Start 1005: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesAmountsNamedArray 1005/3476 Test #1005: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesAmountsNamedArray ................................... Passed 0.05 sec Start 1006: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesConcentrationsNamedArray 1006/3476 Test #1006: RoadRunnerAPITestsWithMCJit.getFloatingSpeciesConcentrationsNamedArray ............................ Passed 0.05 sec Start 1007: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesConcentrations 1007/3476 Test #1007: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesConcentrations ............................. Passed 0.08 sec Start 1008: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesAmounts 1008/3476 Test #1008: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesAmounts .................................... Passed 0.08 sec Start 1009: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesConcentrationsNamedArray 1009/3476 Test #1009: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesConcentrationsNamedArray ................... Passed 0.08 sec Start 1010: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesAmountsNamedArray 1010/3476 Test #1010: RoadRunnerAPITestsWithMCJit.getDependentFloatingSpeciesAmountsNamedArray .......................... Passed 0.08 sec Start 1011: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesConcentrations 1011/3476 Test #1011: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesConcentrations ........................... Passed 0.08 sec Start 1012: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesAmounts 1012/3476 Test #1012: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesAmounts .................................. Passed 0.08 sec Start 1013: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesConcentrationsNamedArray 1013/3476 Test #1013: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesConcentrationsNamedArray ................. Passed 0.08 sec Start 1014: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesAmountsNamedArray 1014/3476 Test #1014: RoadRunnerAPITestsWithMCJit.getIndependentFloatingSpeciesAmountsNamedArray ........................ Passed 0.08 sec Start 1015: RoadRunnerAPITestsWithMCJit.getBoundarySpeciesAmountsNamedArray 1015/3476 Test #1015: RoadRunnerAPITestsWithMCJit.getBoundarySpeciesAmountsNamedArray ................................... Passed 0.11 sec Start 1016: RoadRunnerAPITestsWithMCJit.getBoundarySpeciesConcentrationsNamedArray 1016/3476 Test #1016: RoadRunnerAPITestsWithMCJit.getBoundarySpeciesConcentrationsNamedArray ............................ Passed 0.08 sec Start 1017: RoadRunnerAPITestsWithMCJit.getRatesOfChange 1017/3476 Test #1017: RoadRunnerAPITestsWithMCJit.getRatesOfChange ...................................................... Passed 0.05 sec Start 1018: RoadRunnerAPITestsWithMCJit.getRatesOfChangeNamedArray 1018/3476 Test #1018: RoadRunnerAPITestsWithMCJit.getRatesOfChangeNamedArray ............................................ Passed 0.05 sec Start 1019: RoadRunnerAPITestsWithMCJit.getIndependentRatesOfChange 1019/3476 Test #1019: RoadRunnerAPITestsWithMCJit.getIndependentRatesOfChange ........................................... Passed 0.05 sec Start 1020: RoadRunnerAPITestsWithMCJit.getIndependentRatesOfChangeNamedArray 1020/3476 Test #1020: RoadRunnerAPITestsWithMCJit.getIndependentRatesOfChangeNamedArray ................................. Passed 0.05 sec Start 1021: RoadRunnerAPITestsWithMCJit.getDependentRatesOfChange 1021/3476 Test #1021: RoadRunnerAPITestsWithMCJit.getDependentRatesOfChange ............................................. Passed 0.05 sec Start 1022: RoadRunnerAPITestsWithMCJit.getDependentRatesOfChangeNamedArray 1022/3476 Test #1022: RoadRunnerAPITestsWithMCJit.getDependentRatesOfChangeNamedArray ................................... Passed 0.05 sec Start 1023: RoadRunnerAPITestsWithMCJit.getFullJacobian 1023/3476 Test #1023: RoadRunnerAPITestsWithMCJit.getFullJacobian ....................................................... Passed 0.06 sec Start 1024: RoadRunnerAPITestsWithMCJit.getReducedJacobian 1024/3476 Test #1024: RoadRunnerAPITestsWithMCJit.getReducedJacobian .................................................... Passed 0.08 sec Start 1025: RoadRunnerAPITestsWithMCJit.getFullEigenValues 1025/3476 Test #1025: RoadRunnerAPITestsWithMCJit.getFullEigenValues .................................................... Passed 0.08 sec Start 1026: RoadRunnerAPITestsWithMCJit.getReducedEigenValues 1026/3476 Test #1026: RoadRunnerAPITestsWithMCJit.getReducedEigenValues ................................................. Passed 0.08 sec Start 1027: RoadRunnerAPITestsWithMCJit.getLinkMatrix 1027/3476 Test #1027: RoadRunnerAPITestsWithMCJit.getLinkMatrix ......................................................... Passed 0.05 sec Start 1028: RoadRunnerAPITestsWithMCJit.getNrMatrix 1028/3476 Test #1028: RoadRunnerAPITestsWithMCJit.getNrMatrix ........................................................... Passed 0.05 sec Start 1029: RoadRunnerAPITestsWithMCJit.getKMatrix 1029/3476 Test #1029: RoadRunnerAPITestsWithMCJit.getKMatrix ............................................................ Passed 0.05 sec Start 1030: RoadRunnerAPITestsWithMCJit.getReducedStoichiometryMatrix 1030/3476 Test #1030: RoadRunnerAPITestsWithMCJit.getReducedStoichiometryMatrix ......................................... Passed 0.08 sec Start 1031: RoadRunnerAPITestsWithMCJit.getFullStoichiometryMatrix 1031/3476 Test #1031: RoadRunnerAPITestsWithMCJit.getFullStoichiometryMatrix ............................................ Passed 0.08 sec Start 1032: RoadRunnerAPITestsWithMCJit.getExtendedStoichiometryMatrix 1032/3476 Test #1032: RoadRunnerAPITestsWithMCJit.getExtendedStoichiometryMatrix ........................................ Passed 0.08 sec Start 1033: RoadRunnerAPITestsWithMCJit.getReactantsStoichiometryMatrix 1033/3476 Test #1033: RoadRunnerAPITestsWithMCJit.getReactantsStoichiometryMatrix ....................................... Passed 0.08 sec Start 1034: RoadRunnerAPITestsWithMCJit.getProductsStoichiometryMatrix 1034/3476 Test #1034: RoadRunnerAPITestsWithMCJit.getProductsStoichiometryMatrix ........................................ Passed 0.08 sec Start 1035: RoadRunnerAPITestsWithMCJit.getL0Matrix 1035/3476 Test #1035: RoadRunnerAPITestsWithMCJit.getL0Matrix ........................................................... Passed 0.08 sec Start 1036: RoadRunnerAPITestsWithMCJit.getConservationMatrix 1036/3476 Test #1036: RoadRunnerAPITestsWithMCJit.getConservationMatrix ................................................. Passed 0.08 sec Start 1037: RoadRunnerAPITestsWithMCJit.getUnscaledConcentrationControlCoefficientMatrix 1037/3476 Test #1037: RoadRunnerAPITestsWithMCJit.getUnscaledConcentrationControlCoefficientMatrix ...................... Passed 0.08 sec Start 1038: RoadRunnerAPITestsWithMCJit.getScaledConcentrationControlCoefficientMatrix 1038/3476 Test #1038: RoadRunnerAPITestsWithMCJit.getScaledConcentrationControlCoefficientMatrix ........................ Passed 0.08 sec Start 1039: RoadRunnerAPITestsWithMCJit.getUnscaledFluxControlCoefficientMatrix 1039/3476 Test #1039: RoadRunnerAPITestsWithMCJit.getUnscaledFluxControlCoefficientMatrix ............................... Passed 0.08 sec Start 1040: RoadRunnerAPITestsWithMCJit.getScaledFluxControlCoefficientMatrix 1040/3476 Test #1040: RoadRunnerAPITestsWithMCJit.getScaledFluxControlCoefficientMatrix ................................. Passed 0.08 sec Start 1041: RoadRunnerAPITestsWithMCJit.getEigenValueIds 1041/3476 Test #1041: RoadRunnerAPITestsWithMCJit.getEigenValueIds ...................................................... Passed 0.05 sec Start 1042: RoadRunnerAPITestsWithMCJit.getUnscaledParameterElasticity 1042/3476 Test #1042: RoadRunnerAPITestsWithMCJit.getUnscaledParameterElasticity ........................................ Passed 0.05 sec Start 1043: RoadRunnerAPITestsWithMCJit.getFrequencyResponse 1043/3476 Test #1043: RoadRunnerAPITestsWithMCJit.getFrequencyResponse ..................................................***Not Run (Disabled) 0.00 sec Start 1044: RoadRunnerAPITestsWithMCJit.setConservedMoietyAnalysis 1044/3476 Test #1044: RoadRunnerAPITestsWithMCJit.setConservedMoietyAnalysis ............................................ Passed 0.08 sec Start 1045: RoadRunnerAPITestsWithMCJit.getDiffStepSize 1045/3476 Test #1045: RoadRunnerAPITestsWithMCJit.getDiffStepSize ....................................................... Passed 0.05 sec Start 1046: RoadRunnerAPITestsWithMCJit.getSteadyStateThreshold 1046/3476 Test #1046: RoadRunnerAPITestsWithMCJit.getSteadyStateThreshold ............................................... Passed 0.05 sec Start 1047: RoadRunnerAPITestsWithMCJit.getuCC 1047/3476 Test #1047: RoadRunnerAPITestsWithMCJit.getuCC ................................................................ Passed 0.33 sec Start 1048: RoadRunnerAPITestsWithMCJit.getCC 1048/3476 Test #1048: RoadRunnerAPITestsWithMCJit.getCC ................................................................. Passed 0.33 sec Start 1049: RoadRunnerAPITestsWithMCJit.getuEE 1049/3476 Test #1049: RoadRunnerAPITestsWithMCJit.getuEE ................................................................ Passed 0.05 sec Start 1050: RoadRunnerAPITestsWithMCJit.getEE 1050/3476 Test #1050: RoadRunnerAPITestsWithMCJit.getEE ................................................................. Passed 0.05 sec Start 1051: RoadRunnerAPITestsWithMCJit.getUnscaledElasticityMatrix 1051/3476 Test #1051: RoadRunnerAPITestsWithMCJit.getUnscaledElasticityMatrix ........................................... Passed 0.08 sec Start 1052: RoadRunnerAPITestsWithMCJit.getScaledElasticityMatrix 1052/3476 Test #1052: RoadRunnerAPITestsWithMCJit.getScaledElasticityMatrix ............................................. Passed 0.08 sec Start 1053: RoadRunnerAPITestsWithMCJit.getScaledFloatingSpeciesElasticity 1053/3476 Test #1053: RoadRunnerAPITestsWithMCJit.getScaledFloatingSpeciesElasticity .................................... Passed 0.05 sec Start 1054: RoadRunnerAPITestsWithMCJit.getUnscaledSpeciesElasticity 1054/3476 Test #1054: RoadRunnerAPITestsWithMCJit.getUnscaledSpeciesElasticity .......................................... Passed 0.05 sec Start 1055: RoadRunnerAPITestsWithMCJit.addSpeciesConcentration 1055/3476 Test #1055: RoadRunnerAPITestsWithMCJit.addSpeciesConcentration ............................................... Passed 0.08 sec Start 1056: RoadRunnerAPITestsWithMCJit.addSpeciesAmount 1056/3476 Test #1056: RoadRunnerAPITestsWithMCJit.addSpeciesAmount ...................................................... Passed 0.08 sec Start 1057: RoadRunnerAPITestsWithMCJit.removeSpecies 1057/3476 Test #1057: RoadRunnerAPITestsWithMCJit.removeSpecies ......................................................... Passed 0.07 sec Start 1058: RoadRunnerAPITestsWithMCJit.setBoundary 1058/3476 Test #1058: RoadRunnerAPITestsWithMCJit.setBoundary ........................................................... Passed 0.08 sec Start 1059: RoadRunnerAPITestsWithMCJit.setHasOnlySubstanceUnits 1059/3476 Test #1059: RoadRunnerAPITestsWithMCJit.setHasOnlySubstanceUnits .............................................. Passed 0.07 sec Start 1060: RoadRunnerAPITestsWithMCJit.setInitAmount 1060/3476 Test #1060: RoadRunnerAPITestsWithMCJit.setInitAmount ......................................................... Passed 0.29 sec Start 1061: RoadRunnerAPITestsWithMCJit.setInitAmountWithSetValue 1061/3476 Test #1061: RoadRunnerAPITestsWithMCJit.setInitAmountWithSetValue ............................................. Passed 0.29 sec Start 1062: RoadRunnerAPITestsWithMCJit.setInitConcentration 1062/3476 Test #1062: RoadRunnerAPITestsWithMCJit.setInitConcentration .................................................. Passed 0.40 sec Start 1063: RoadRunnerAPITestsWithMCJit.setInitConcentrationWithSetValue 1063/3476 Test #1063: RoadRunnerAPITestsWithMCJit.setInitConcentrationWithSetValue ...................................... Passed 0.43 sec Start 1064: RoadRunnerAPITestsWithMCJit.setConstant 1064/3476 Test #1064: RoadRunnerAPITestsWithMCJit.setConstant ...........................................................***Not Run (Disabled) 0.00 sec Start 1065: RoadRunnerAPITestsWithMCJit.addReactionFromSBML 1065/3476 Test #1065: RoadRunnerAPITestsWithMCJit.addReactionFromSBML ................................................... Passed 0.08 sec Start 1066: RoadRunnerAPITestsWithMCJit.addReactionDirect 1066/3476 Test #1066: RoadRunnerAPITestsWithMCJit.addReactionDirect ..................................................... Passed 0.08 sec Start 1067: RoadRunnerAPITestsWithMCJit.removeReactionAndUnusedParameters 1067/3476 Test #1067: RoadRunnerAPITestsWithMCJit.removeReactionAndUnusedParameters ..................................... Passed 0.08 sec Start 1068: RoadRunnerAPITestsWithMCJit.removeReactionButNotUnusedParameters 1068/3476 Test #1068: RoadRunnerAPITestsWithMCJit.removeReactionButNotUnusedParameters .................................. Passed 0.08 sec Start 1069: RoadRunnerAPITestsWithMCJit.setReversible 1069/3476 Test #1069: RoadRunnerAPITestsWithMCJit.setReversible .........................................................***Not Run (Disabled) 0.00 sec Start 1070: RoadRunnerAPITestsWithMCJit.setKineticLaw 1070/3476 Test #1070: RoadRunnerAPITestsWithMCJit.setKineticLaw ......................................................... Passed 0.08 sec Start 1071: RoadRunnerAPITestsWithMCJit.addParameter 1071/3476 Test #1071: RoadRunnerAPITestsWithMCJit.addParameter .......................................................... Passed 0.08 sec Start 1072: RoadRunnerAPITestsWithMCJit.removeParameter 1072/3476 Test #1072: RoadRunnerAPITestsWithMCJit.removeParameter ....................................................... Passed 0.08 sec Start 1073: RoadRunnerAPITestsWithMCJit.addCompartment 1073/3476 Test #1073: RoadRunnerAPITestsWithMCJit.addCompartment ........................................................ Passed 0.08 sec Start 1074: RoadRunnerAPITestsWithMCJit.removeCompartment 1074/3476 Test #1074: RoadRunnerAPITestsWithMCJit.removeCompartment ..................................................... Passed 0.11 sec Start 1075: RoadRunnerAPITestsWithMCJit.addAssignmentRule 1075/3476 Test #1075: RoadRunnerAPITestsWithMCJit.addAssignmentRule ..................................................... Passed 0.11 sec Start 1076: RoadRunnerAPITestsWithMCJit.addRateRule 1076/3476 Test #1076: RoadRunnerAPITestsWithMCJit.addRateRule ........................................................... Passed 0.11 sec Start 1077: RoadRunnerAPITestsWithMCJit.removeRules 1077/3476 Test #1077: RoadRunnerAPITestsWithMCJit.removeRules ........................................................... Passed 0.14 sec Start 1078: RoadRunnerAPITestsWithMCJit.addInitialAssignment 1078/3476 Test #1078: RoadRunnerAPITestsWithMCJit.addInitialAssignment .................................................. Passed 0.08 sec Start 1079: RoadRunnerAPITestsWithMCJit.removeInitialAssignment 1079/3476 Test #1079: RoadRunnerAPITestsWithMCJit.removeInitialAssignment ............................................... Passed 0.11 sec Start 1080: RoadRunnerAPITestsWithMCJit.addEvent 1080/3476 Test #1080: RoadRunnerAPITestsWithMCJit.addEvent .............................................................. Passed 0.08 sec Start 1081: RoadRunnerAPITestsWithMCJit.addTrigger 1081/3476 Test #1081: RoadRunnerAPITestsWithMCJit.addTrigger ............................................................ Passed 0.04 sec Start 1082: RoadRunnerAPITestsWithMCJit.setPersistent 1082/3476 Test #1082: RoadRunnerAPITestsWithMCJit.setPersistent ......................................................... Passed 0.08 sec Start 1083: RoadRunnerAPITestsWithMCJit.setTriggerInitialValue 1083/3476 Test #1083: RoadRunnerAPITestsWithMCJit.setTriggerInitialValue ................................................ Passed 0.06 sec Start 1084: RoadRunnerAPITestsWithMCJit.addPriority 1084/3476 Test #1084: RoadRunnerAPITestsWithMCJit.addPriority ........................................................... Passed 0.06 sec Start 1085: RoadRunnerAPITestsWithMCJit.addDelay 1085/3476 Test #1085: RoadRunnerAPITestsWithMCJit.addDelay .............................................................. Passed 0.04 sec Start 1086: RoadRunnerAPITestsWithMCJit.addEventAssignment 1086/3476 Test #1086: RoadRunnerAPITestsWithMCJit.addEventAssignment .................................................... Passed 0.06 sec Start 1087: RoadRunnerAPITestsWithMCJit.removeEventAssignments 1087/3476 Test #1087: RoadRunnerAPITestsWithMCJit.removeEventAssignments ................................................ Passed 0.06 sec Start 1088: RoadRunnerAPITestsWithMCJit.removeEvent 1088/3476 Test #1088: RoadRunnerAPITestsWithMCJit.removeEvent ........................................................... Passed 0.11 sec Start 1089: RoadRunnerAPITestsWithMCJit.validateCurrentSBML 1089/3476 Test #1089: RoadRunnerAPITestsWithMCJit.validateCurrentSBML ................................................... Passed 0.05 sec Start 1090: RoadRunnerAPITestsWithMCJit.mcaSteadyState 1090/3476 Test #1090: RoadRunnerAPITestsWithMCJit.mcaSteadyState ........................................................***Not Run (Disabled) 0.00 sec Start 1091: RoadRunnerAPITestsWithMCJit.steadyState 1091/3476 Test #1091: RoadRunnerAPITestsWithMCJit.steadyState ........................................................... Passed 0.08 sec Start 1092: RoadRunnerAPITestsWithMCJit.steadyStateNamedArray 1092/3476 Test #1092: RoadRunnerAPITestsWithMCJit.steadyStateNamedArray ................................................. Passed 0.16 sec Start 1093: RoadRunnerAPITestsWithMCJit.getSteadyStateSelections 1093/3476 Test #1093: RoadRunnerAPITestsWithMCJit.getSteadyStateSelections .............................................. Passed 0.05 sec Start 1094: RoadRunnerAPITestsWithMCJit.setSteadyStateSelections 1094/3476 Test #1094: RoadRunnerAPITestsWithMCJit.setSteadyStateSelections .............................................. Passed 0.05 sec Start 1095: RoadRunnerAPITestsWithMCJit.getSteadyStateSelectionStrings 1095/3476 Test #1095: RoadRunnerAPITestsWithMCJit.getSteadyStateSelectionStrings ........................................ Passed 0.05 sec Start 1096: RoadRunnerAPITestsWithMCJit.regenerateModel 1096/3476 Test #1096: RoadRunnerAPITestsWithMCJit.regenerateModel ....................................................... Passed 0.08 sec Start 1097: RoadRunnerAPITestsWithMCJit.getIntegratorDefault 1097/3476 Test #1097: RoadRunnerAPITestsWithMCJit.getIntegratorDefault .................................................. Passed 0.05 sec Start 1098: RoadRunnerAPITestsWithMCJit.getSensitivitySolver 1098/3476 Test #1098: RoadRunnerAPITestsWithMCJit.getSensitivitySolver .................................................. Passed 0.05 sec Start 1099: RoadRunnerAPITestsWithMCJit.getIntegratorByName 1099/3476 Test #1099: RoadRunnerAPITestsWithMCJit.getIntegratorByName ................................................... Passed 0.05 sec Start 1100: RoadRunnerAPITestsWithMCJit.getSensitivitySolverByName 1100/3476 Test #1100: RoadRunnerAPITestsWithMCJit.getSensitivitySolverByName ............................................***Not Run (Disabled) 0.00 sec Start 1101: RoadRunnerAPITestsWithMCJit.makeIntegrator 1101/3476 Test #1101: RoadRunnerAPITestsWithMCJit.makeIntegrator ........................................................ Passed 0.05 sec Start 1102: RoadRunnerAPITestsWithMCJit.makeSteadyStateSolver 1102/3476 Test #1102: RoadRunnerAPITestsWithMCJit.makeSteadyStateSolver ................................................. Passed 0.05 sec Start 1103: RoadRunnerAPITestsWithMCJit.makeSensitivitySolver 1103/3476 Test #1103: RoadRunnerAPITestsWithMCJit.makeSensitivitySolver .................................................***Not Run (Disabled) 0.00 sec Start 1104: RoadRunnerAPITestsWithMCJit.getExistingIntegratorNamesOneExists 1104/3476 Test #1104: RoadRunnerAPITestsWithMCJit.getExistingIntegratorNamesOneExists ................................... Passed 0.05 sec Start 1105: RoadRunnerAPITestsWithMCJit.getExistingIntegratorNamesTwoExists 1105/3476 Test #1105: RoadRunnerAPITestsWithMCJit.getExistingIntegratorNamesTwoExists ................................... Passed 0.05 sec Start 1106: RoadRunnerAPITestsWithMCJit.getExistingSensitivitySolverNames 1106/3476 Test #1106: RoadRunnerAPITestsWithMCJit.getExistingSensitivitySolverNames ..................................... Passed 0.05 sec Start 1107: RoadRunnerAPITestsWithMCJit.getRegisteredIntegratorNames 1107/3476 Test #1107: RoadRunnerAPITestsWithMCJit.getRegisteredIntegratorNames .......................................... Passed 0.05 sec Start 1108: RoadRunnerAPITestsWithMCJit.getRegisteredSensitivitySolverNames 1108/3476 Test #1108: RoadRunnerAPITestsWithMCJit.getRegisteredSensitivitySolverNames ................................... Passed 0.05 sec Start 1109: RoadRunnerAPITestsWithMCJit.setIntegrator 1109/3476 Test #1109: RoadRunnerAPITestsWithMCJit.setIntegrator ......................................................... Passed 0.05 sec Start 1110: RoadRunnerAPITestsWithMCJit.setIntegratorToRk4 1110/3476 Test #1110: RoadRunnerAPITestsWithMCJit.setIntegratorToRk4 .................................................... Passed 0.05 sec Start 1111: RoadRunnerAPITestsWithMCJit.setIntegratorToRk45 1111/3476 Test #1111: RoadRunnerAPITestsWithMCJit.setIntegratorToRk45 ................................................... Passed 0.05 sec Start 1112: RoadRunnerAPITestsWithMCJit.setIntegratorErrorMessage 1112/3476 Test #1112: RoadRunnerAPITestsWithMCJit.setIntegratorErrorMessage ............................................. Passed 0.05 sec Start 1113: RoadRunnerAPITestsWithMCJit.setSensitivitySolverErrorMessage 1113/3476 Test #1113: RoadRunnerAPITestsWithMCJit.setSensitivitySolverErrorMessage ...................................... Passed 0.05 sec Start 1114: RoadRunnerAPITestsWithMCJit.setSensitivitySolver 1114/3476 Test #1114: RoadRunnerAPITestsWithMCJit.setSensitivitySolver .................................................. Passed 0.05 sec Start 1115: RoadRunnerAPITestsWithMCJit.integratorExistsWhenTrue 1115/3476 Test #1115: RoadRunnerAPITestsWithMCJit.integratorExistsWhenTrue .............................................. Passed 0.05 sec Start 1116: RoadRunnerAPITestsWithMCJit.sensitivitySolverExistsWhenTrue 1116/3476 Test #1116: RoadRunnerAPITestsWithMCJit.sensitivitySolverExistsWhenTrue ....................................... Passed 0.05 sec Start 1117: RoadRunnerAPITestsWithMCJit.integratorExistsWhenFalse 1117/3476 Test #1117: RoadRunnerAPITestsWithMCJit.integratorExistsWhenFalse ............................................. Passed 0.05 sec Start 1118: RoadRunnerAPITestsWithMCJit.sensitivitySolverExistsWhenFalse 1118/3476 Test #1118: RoadRunnerAPITestsWithMCJit.sensitivitySolverExistsWhenFalse ......................................***Not Run (Disabled) 0.00 sec Start 1119: RoadRunnerAPITestsWithLLJit.DefaultJacobianMode 1119/3476 Test #1119: RoadRunnerAPITestsWithLLJit.DefaultJacobianMode ................................................... Passed 0.02 sec Start 1120: RoadRunnerAPITestsWithLLJit.SetJacobianModeToAmt 1120/3476 Test #1120: RoadRunnerAPITestsWithLLJit.SetJacobianModeToAmt .................................................. Passed 0.02 sec Start 1121: RoadRunnerAPITestsWithLLJit.GetFullJacobianDefaultConfigSettings 1121/3476 Test #1121: RoadRunnerAPITestsWithLLJit.GetFullJacobianDefaultConfigSettings .................................. Passed 0.03 sec Start 1122: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingConcMode 1122/3476 Test #1122: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingConcMode .......................................... Passed 0.03 sec Start 1123: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingAmtMode 1123/3476 Test #1123: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingAmtMode ........................................... Passed 0.03 sec Start 1124: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingAmtModeAsLong 1124/3476 Test #1124: RoadRunnerAPITestsWithLLJit.GetFullJacobianUsingAmtModeAsLong ..................................... Passed 0.03 sec Start 1125: RoadRunnerAPITestsWithLLJit.getIds 1125/3476 Test #1125: RoadRunnerAPITestsWithLLJit.getIds ................................................................ Passed 0.03 sec Start 1126: RoadRunnerAPITestsWithLLJit.getIdsAfterRegenerate 1126/3476 Test #1126: RoadRunnerAPITestsWithLLJit.getIdsAfterRegenerate ................................................. Passed 0.03 sec Start 1127: RoadRunnerAPITestsWithLLJit.getIdsAfterSetConservedMoiety 1127/3476 Test #1127: RoadRunnerAPITestsWithLLJit.getIdsAfterSetConservedMoiety .........................................***Not Run (Disabled) 0.00 sec Start 1128: RoadRunnerAPITestsWithLLJit.LoadModelWithOnlyLayoutInformation 1128/3476 Test #1128: RoadRunnerAPITestsWithLLJit.LoadModelWithOnlyLayoutInformation .................................... Passed 0.03 sec Start 1129: RoadRunnerAPITestsWithLLJit.loadSBMLWithLeadingNewlineCharacter 1129/3476 Test #1129: RoadRunnerAPITestsWithLLJit.loadSBMLWithLeadingNewlineCharacter ................................... Passed 0.03 sec Start 1130: RoadRunnerAPITestsWithLLJit.RoadRunnerConstructorVersion 1130/3476 Test #1130: RoadRunnerAPITestsWithLLJit.RoadRunnerConstructorVersion .......................................... Passed 0.06 sec Start 1131: RoadRunnerAPITestsWithLLJit.RoadRunnerConstructorFromURL 1131/3476 Test #1131: RoadRunnerAPITestsWithLLJit.RoadRunnerConstructorFromURL ..........................................***Not Run (Disabled) 0.00 sec Start 1132: RoadRunnerAPITestsWithLLJit.CompilerTempDirSupportCodeDir 1132/3476 Test #1132: RoadRunnerAPITestsWithLLJit.CompilerTempDirSupportCodeDir .........................................***Not Run (Disabled) 0.00 sec Start 1133: RoadRunnerAPITestsWithLLJit.CopyConstructor 1133/3476 Test #1133: RoadRunnerAPITestsWithLLJit.CopyConstructor ....................................................... Passed 0.03 sec Start 1134: RoadRunnerAPITestsWithLLJit.EqualityOperators 1134/3476 Test #1134: RoadRunnerAPITestsWithLLJit.EqualityOperators .....................................................***Not Run (Disabled) 0.00 sec Start 1135: RoadRunnerAPITestsWithLLJit.InequalityOperators 1135/3476 Test #1135: RoadRunnerAPITestsWithLLJit.InequalityOperators ...................................................***Not Run (Disabled) 0.00 sec Start 1136: RoadRunnerAPITestsWithLLJit.getInstanceID 1136/3476 Test #1136: RoadRunnerAPITestsWithLLJit.getInstanceID ......................................................... Passed 0.03 sec Start 1137: RoadRunnerAPITestsWithLLJit.getInstanceCount 1137/3476 Test #1137: RoadRunnerAPITestsWithLLJit.getInstanceCount ...................................................... Passed 0.03 sec Start 1138: RoadRunnerAPITestsWithLLJit.getParamPromotedSBML 1138/3476 Test #1138: RoadRunnerAPITestsWithLLJit.getParamPromotedSBML .................................................. Passed 0.02 sec Start 1139: RoadRunnerAPITestsWithLLJit.getCompiler 1139/3476 Test #1139: RoadRunnerAPITestsWithLLJit.getCompiler ...........................................................***Not Run (Disabled) 0.00 sec Start 1140: RoadRunnerAPITestsWithLLJit.IsModelLoadedWhenFalse 1140/3476 Test #1140: RoadRunnerAPITestsWithLLJit.IsModelLoadedWhenFalse ................................................ Passed 0.02 sec Start 1141: RoadRunnerAPITestsWithLLJit.IsModelLoadedWhenTrue 1141/3476 Test #1141: RoadRunnerAPITestsWithLLJit.IsModelLoadedWhenTrue ................................................. Passed 0.03 sec Start 1142: RoadRunnerAPITestsWithLLJit.getConservedMoietyAnalysisWhenFalse 1142/3476 Test #1142: RoadRunnerAPITestsWithLLJit.getConservedMoietyAnalysisWhenFalse ................................... Passed 0.03 sec Start 1143: RoadRunnerAPITestsWithLLJit.getConservedMoietyAnalysisWhenTrue 1143/3476 Test #1143: RoadRunnerAPITestsWithLLJit.getConservedMoietyAnalysisWhenTrue .................................... Passed 0.04 sec Start 1144: RoadRunnerAPITestsWithLLJit.tmpDir 1144/3476 Test #1144: RoadRunnerAPITestsWithLLJit.tmpDir ................................................................ Passed 0.03 sec Start 1145: RoadRunnerAPITestsWithLLJit.getModelName 1145/3476 Test #1145: RoadRunnerAPITestsWithLLJit.getModelName .......................................................... Passed 0.03 sec Start 1146: RoadRunnerAPITestsWithLLJit.clearModel 1146/3476 Test #1146: RoadRunnerAPITestsWithLLJit.clearModel ............................................................ Passed 0.03 sec Start 1147: RoadRunnerAPITestsWithLLJit.oneStep 1147/3476 Test #1147: RoadRunnerAPITestsWithLLJit.oneStep ............................................................... Passed 0.03 sec Start 1148: RoadRunnerAPITestsWithLLJit.internalOneStep 1148/3476 Test #1148: RoadRunnerAPITestsWithLLJit.internalOneStep ....................................................... Passed 0.03 sec Start 1149: RoadRunnerAPITestsWithLLJit.saveState 1149/3476 Test #1149: RoadRunnerAPITestsWithLLJit.saveState ............................................................. Passed 0.03 sec Start 1150: RoadRunnerAPITestsWithLLJit.loadState 1150/3476 Test #1150: RoadRunnerAPITestsWithLLJit.loadState ............................................................. Passed 0.03 sec Start 1151: RoadRunnerAPITestsWithLLJit.loadStateFromCopy 1151/3476 Test #1151: RoadRunnerAPITestsWithLLJit.loadStateFromCopy ..................................................... Passed 0.03 sec Start 1152: RoadRunnerAPITestsWithLLJit.getSimulationData 1152/3476 Test #1152: RoadRunnerAPITestsWithLLJit.getSimulationData ..................................................... Passed 0.03 sec Start 1153: RoadRunnerAPITestsWithLLJit.setSimulateOptions 1153/3476 Test #1153: RoadRunnerAPITestsWithLLJit.setSimulateOptions .................................................... Passed 0.03 sec Start 1154: RoadRunnerAPITestsWithLLJit.getSBML 1154/3476 Test #1154: RoadRunnerAPITestsWithLLJit.getSBML ............................................................... Passed 0.03 sec Start 1155: RoadRunnerAPITestsWithLLJit.getCurrentSBML 1155/3476 Test #1155: RoadRunnerAPITestsWithLLJit.getCurrentSBML ........................................................ Passed 0.03 sec Start 1156: RoadRunnerAPITestsWithLLJit.reset 1156/3476 Test #1156: RoadRunnerAPITestsWithLLJit.reset ................................................................. Passed 0.03 sec Start 1157: RoadRunnerAPITestsWithLLJit.getCurrentTime 1157/3476 Test #1157: RoadRunnerAPITestsWithLLJit.getCurrentTime ........................................................ Passed 0.03 sec Start 1158: RoadRunnerAPITestsWithLLJit.resetSelectionLists 1158/3476 Test #1158: RoadRunnerAPITestsWithLLJit.resetSelectionLists ................................................... Passed 0.03 sec Start 1159: RoadRunnerAPITestsWithLLJit.getSelections 1159/3476 Test #1159: RoadRunnerAPITestsWithLLJit.getSelections ......................................................... Passed 0.03 sec Start 1160: RoadRunnerAPITestsWithLLJit.getValue 1160/3476 Test #1160: RoadRunnerAPITestsWithLLJit.getValue .............................................................. Passed 0.03 sec Start 1161: RoadRunnerAPITestsWithLLJit.setSelections 1161/3476 Test #1161: RoadRunnerAPITestsWithLLJit.setSelections ......................................................... Passed 0.03 sec Start 1162: RoadRunnerAPITestsWithLLJit.getSelectedValues 1162/3476 Test #1162: RoadRunnerAPITestsWithLLJit.getSelectedValues ..................................................... Passed 0.03 sec Start 1163: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesIds 1163/3476 Test #1163: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesIds ...................................... Passed 0.04 sec Start 1164: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesIds 1164/3476 Test #1164: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesIds ........................................ Passed 0.04 sec Start 1165: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesInitialConcentrations 1165/3476 Test #1165: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesInitialConcentrations ............................... Passed 0.03 sec Start 1166: RoadRunnerAPITestsWithLLJit.getSupportedIdTypes 1166/3476 Test #1166: RoadRunnerAPITestsWithLLJit.getSupportedIdTypes ...................................................***Not Run (Disabled) 0.00 sec Start 1167: RoadRunnerAPITestsWithLLJit.setValue 1167/3476 Test #1167: RoadRunnerAPITestsWithLLJit.setValue .............................................................. Passed 0.03 sec Start 1168: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesAmountsNamedArray 1168/3476 Test #1168: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesAmountsNamedArray ................................... Passed 0.03 sec Start 1169: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesConcentrationsNamedArray 1169/3476 Test #1169: RoadRunnerAPITestsWithLLJit.getFloatingSpeciesConcentrationsNamedArray ............................ Passed 0.03 sec Start 1170: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesConcentrations 1170/3476 Test #1170: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesConcentrations ............................. Passed 0.04 sec Start 1171: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesAmounts 1171/3476 Test #1171: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesAmounts .................................... Passed 0.04 sec Start 1172: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesConcentrationsNamedArray 1172/3476 Test #1172: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesConcentrationsNamedArray ................... Passed 0.04 sec Start 1173: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesAmountsNamedArray 1173/3476 Test #1173: RoadRunnerAPITestsWithLLJit.getDependentFloatingSpeciesAmountsNamedArray .......................... Passed 0.04 sec Start 1174: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesConcentrations 1174/3476 Test #1174: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesConcentrations ........................... Passed 0.04 sec Start 1175: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesAmounts 1175/3476 Test #1175: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesAmounts .................................. Passed 0.04 sec Start 1176: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesConcentrationsNamedArray 1176/3476 Test #1176: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesConcentrationsNamedArray ................. Passed 0.04 sec Start 1177: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesAmountsNamedArray 1177/3476 Test #1177: RoadRunnerAPITestsWithLLJit.getIndependentFloatingSpeciesAmountsNamedArray ........................ Passed 0.04 sec Start 1178: RoadRunnerAPITestsWithLLJit.getBoundarySpeciesAmountsNamedArray 1178/3476 Test #1178: RoadRunnerAPITestsWithLLJit.getBoundarySpeciesAmountsNamedArray ................................... Passed 0.04 sec Start 1179: RoadRunnerAPITestsWithLLJit.getBoundarySpeciesConcentrationsNamedArray 1179/3476 Test #1179: RoadRunnerAPITestsWithLLJit.getBoundarySpeciesConcentrationsNamedArray ............................ Passed 0.04 sec Start 1180: RoadRunnerAPITestsWithLLJit.getRatesOfChange 1180/3476 Test #1180: RoadRunnerAPITestsWithLLJit.getRatesOfChange ...................................................... Passed 0.03 sec Start 1181: RoadRunnerAPITestsWithLLJit.getRatesOfChangeNamedArray 1181/3476 Test #1181: RoadRunnerAPITestsWithLLJit.getRatesOfChangeNamedArray ............................................ Passed 0.03 sec Start 1182: RoadRunnerAPITestsWithLLJit.getIndependentRatesOfChange 1182/3476 Test #1182: RoadRunnerAPITestsWithLLJit.getIndependentRatesOfChange ........................................... Passed 0.03 sec Start 1183: RoadRunnerAPITestsWithLLJit.getIndependentRatesOfChangeNamedArray 1183/3476 Test #1183: RoadRunnerAPITestsWithLLJit.getIndependentRatesOfChangeNamedArray ................................. Passed 0.03 sec Start 1184: RoadRunnerAPITestsWithLLJit.getDependentRatesOfChange 1184/3476 Test #1184: RoadRunnerAPITestsWithLLJit.getDependentRatesOfChange ............................................. Passed 0.03 sec Start 1185: RoadRunnerAPITestsWithLLJit.getDependentRatesOfChangeNamedArray 1185/3476 Test #1185: RoadRunnerAPITestsWithLLJit.getDependentRatesOfChangeNamedArray ................................... Passed 0.03 sec Start 1186: RoadRunnerAPITestsWithLLJit.getFullJacobian 1186/3476 Test #1186: RoadRunnerAPITestsWithLLJit.getFullJacobian ....................................................... Passed 0.03 sec Start 1187: RoadRunnerAPITestsWithLLJit.getReducedJacobian 1187/3476 Test #1187: RoadRunnerAPITestsWithLLJit.getReducedJacobian .................................................... Passed 0.04 sec Start 1188: RoadRunnerAPITestsWithLLJit.getFullEigenValues 1188/3476 Test #1188: RoadRunnerAPITestsWithLLJit.getFullEigenValues .................................................... Passed 0.04 sec Start 1189: RoadRunnerAPITestsWithLLJit.getReducedEigenValues 1189/3476 Test #1189: RoadRunnerAPITestsWithLLJit.getReducedEigenValues ................................................. Passed 0.04 sec Start 1190: RoadRunnerAPITestsWithLLJit.getLinkMatrix 1190/3476 Test #1190: RoadRunnerAPITestsWithLLJit.getLinkMatrix ......................................................... Passed 0.03 sec Start 1191: RoadRunnerAPITestsWithLLJit.getNrMatrix 1191/3476 Test #1191: RoadRunnerAPITestsWithLLJit.getNrMatrix ........................................................... Passed 0.03 sec Start 1192: RoadRunnerAPITestsWithLLJit.getKMatrix 1192/3476 Test #1192: RoadRunnerAPITestsWithLLJit.getKMatrix ............................................................ Passed 0.03 sec Start 1193: RoadRunnerAPITestsWithLLJit.getReducedStoichiometryMatrix 1193/3476 Test #1193: RoadRunnerAPITestsWithLLJit.getReducedStoichiometryMatrix ......................................... Passed 0.04 sec Start 1194: RoadRunnerAPITestsWithLLJit.getFullStoichiometryMatrix 1194/3476 Test #1194: RoadRunnerAPITestsWithLLJit.getFullStoichiometryMatrix ............................................ Passed 0.04 sec Start 1195: RoadRunnerAPITestsWithLLJit.getExtendedStoichiometryMatrix 1195/3476 Test #1195: RoadRunnerAPITestsWithLLJit.getExtendedStoichiometryMatrix ........................................ Passed 0.04 sec Start 1196: RoadRunnerAPITestsWithLLJit.getReactantsStoichiometryMatrix 1196/3476 Test #1196: RoadRunnerAPITestsWithLLJit.getReactantsStoichiometryMatrix ....................................... Passed 0.04 sec Start 1197: RoadRunnerAPITestsWithLLJit.getProductsStoichiometryMatrix 1197/3476 Test #1197: RoadRunnerAPITestsWithLLJit.getProductsStoichiometryMatrix ........................................ Passed 0.04 sec Start 1198: RoadRunnerAPITestsWithLLJit.getL0Matrix 1198/3476 Test #1198: RoadRunnerAPITestsWithLLJit.getL0Matrix ........................................................... Passed 0.04 sec Start 1199: RoadRunnerAPITestsWithLLJit.getConservationMatrix 1199/3476 Test #1199: RoadRunnerAPITestsWithLLJit.getConservationMatrix ................................................. Passed 0.04 sec Start 1200: RoadRunnerAPITestsWithLLJit.getUnscaledConcentrationControlCoefficientMatrix 1200/3476 Test #1200: RoadRunnerAPITestsWithLLJit.getUnscaledConcentrationControlCoefficientMatrix ...................... Passed 0.04 sec Start 1201: RoadRunnerAPITestsWithLLJit.getScaledConcentrationControlCoefficientMatrix 1201/3476 Test #1201: RoadRunnerAPITestsWithLLJit.getScaledConcentrationControlCoefficientMatrix ........................ Passed 0.04 sec Start 1202: RoadRunnerAPITestsWithLLJit.getUnscaledFluxControlCoefficientMatrix 1202/3476 Test #1202: RoadRunnerAPITestsWithLLJit.getUnscaledFluxControlCoefficientMatrix ............................... Passed 0.04 sec Start 1203: RoadRunnerAPITestsWithLLJit.getScaledFluxControlCoefficientMatrix 1203/3476 Test #1203: RoadRunnerAPITestsWithLLJit.getScaledFluxControlCoefficientMatrix ................................. Passed 0.04 sec Start 1204: RoadRunnerAPITestsWithLLJit.getEigenValueIds 1204/3476 Test #1204: RoadRunnerAPITestsWithLLJit.getEigenValueIds ...................................................... Passed 0.03 sec Start 1205: RoadRunnerAPITestsWithLLJit.getUnscaledParameterElasticity 1205/3476 Test #1205: RoadRunnerAPITestsWithLLJit.getUnscaledParameterElasticity ........................................ Passed 0.03 sec Start 1206: RoadRunnerAPITestsWithLLJit.getFrequencyResponse 1206/3476 Test #1206: RoadRunnerAPITestsWithLLJit.getFrequencyResponse ..................................................***Not Run (Disabled) 0.00 sec Start 1207: RoadRunnerAPITestsWithLLJit.setConservedMoietyAnalysis 1207/3476 Test #1207: RoadRunnerAPITestsWithLLJit.setConservedMoietyAnalysis ............................................ Passed 0.04 sec Start 1208: RoadRunnerAPITestsWithLLJit.getDiffStepSize 1208/3476 Test #1208: RoadRunnerAPITestsWithLLJit.getDiffStepSize ....................................................... Passed 0.03 sec Start 1209: RoadRunnerAPITestsWithLLJit.getSteadyStateThreshold 1209/3476 Test #1209: RoadRunnerAPITestsWithLLJit.getSteadyStateThreshold ............................................... Passed 0.03 sec Start 1210: RoadRunnerAPITestsWithLLJit.getuCC 1210/3476 Test #1210: RoadRunnerAPITestsWithLLJit.getuCC ................................................................ Passed 0.07 sec Start 1211: RoadRunnerAPITestsWithLLJit.getCC 1211/3476 Test #1211: RoadRunnerAPITestsWithLLJit.getCC ................................................................. Passed 0.07 sec Start 1212: RoadRunnerAPITestsWithLLJit.getuEE 1212/3476 Test #1212: RoadRunnerAPITestsWithLLJit.getuEE ................................................................ Passed 0.03 sec Start 1213: RoadRunnerAPITestsWithLLJit.getEE 1213/3476 Test #1213: RoadRunnerAPITestsWithLLJit.getEE ................................................................. Passed 0.03 sec Start 1214: RoadRunnerAPITestsWithLLJit.getUnscaledElasticityMatrix 1214/3476 Test #1214: RoadRunnerAPITestsWithLLJit.getUnscaledElasticityMatrix ........................................... Passed 0.03 sec Start 1215: RoadRunnerAPITestsWithLLJit.getScaledElasticityMatrix 1215/3476 Test #1215: RoadRunnerAPITestsWithLLJit.getScaledElasticityMatrix ............................................. Passed 0.04 sec Start 1216: RoadRunnerAPITestsWithLLJit.getScaledFloatingSpeciesElasticity 1216/3476 Test #1216: RoadRunnerAPITestsWithLLJit.getScaledFloatingSpeciesElasticity .................................... Passed 0.03 sec Start 1217: RoadRunnerAPITestsWithLLJit.getUnscaledSpeciesElasticity 1217/3476 Test #1217: RoadRunnerAPITestsWithLLJit.getUnscaledSpeciesElasticity .......................................... Passed 0.03 sec Start 1218: RoadRunnerAPITestsWithLLJit.addSpeciesConcentration 1218/3476 Test #1218: RoadRunnerAPITestsWithLLJit.addSpeciesConcentration ............................................... Passed 0.04 sec Start 1219: RoadRunnerAPITestsWithLLJit.addSpeciesAmount 1219/3476 Test #1219: RoadRunnerAPITestsWithLLJit.addSpeciesAmount ...................................................... Passed 0.04 sec Start 1220: RoadRunnerAPITestsWithLLJit.removeSpecies 1220/3476 Test #1220: RoadRunnerAPITestsWithLLJit.removeSpecies ......................................................... Passed 0.04 sec Start 1221: RoadRunnerAPITestsWithLLJit.setBoundary 1221/3476 Test #1221: RoadRunnerAPITestsWithLLJit.setBoundary ........................................................... Passed 0.04 sec Start 1222: RoadRunnerAPITestsWithLLJit.setHasOnlySubstanceUnits 1222/3476 Test #1222: RoadRunnerAPITestsWithLLJit.setHasOnlySubstanceUnits .............................................. Passed 0.03 sec Start 1223: RoadRunnerAPITestsWithLLJit.setInitAmount 1223/3476 Test #1223: RoadRunnerAPITestsWithLLJit.setInitAmount ......................................................... Passed 0.10 sec Start 1224: RoadRunnerAPITestsWithLLJit.setInitAmountWithSetValue 1224/3476 Test #1224: RoadRunnerAPITestsWithLLJit.setInitAmountWithSetValue ............................................. Passed 0.11 sec Start 1225: RoadRunnerAPITestsWithLLJit.setInitConcentration 1225/3476 Test #1225: RoadRunnerAPITestsWithLLJit.setInitConcentration .................................................. Passed 0.15 sec Start 1226: RoadRunnerAPITestsWithLLJit.setInitConcentrationWithSetValue 1226/3476 Test #1226: RoadRunnerAPITestsWithLLJit.setInitConcentrationWithSetValue ...................................... Passed 0.15 sec Start 1227: RoadRunnerAPITestsWithLLJit.setConstant 1227/3476 Test #1227: RoadRunnerAPITestsWithLLJit.setConstant ...........................................................***Not Run (Disabled) 0.00 sec Start 1228: RoadRunnerAPITestsWithLLJit.addReactionFromSBML 1228/3476 Test #1228: RoadRunnerAPITestsWithLLJit.addReactionFromSBML ................................................... Passed 0.04 sec Start 1229: RoadRunnerAPITestsWithLLJit.addReactionDirect 1229/3476 Test #1229: RoadRunnerAPITestsWithLLJit.addReactionDirect ..................................................... Passed 0.04 sec Start 1230: RoadRunnerAPITestsWithLLJit.removeReactionAndUnusedParameters 1230/3476 Test #1230: RoadRunnerAPITestsWithLLJit.removeReactionAndUnusedParameters ..................................... Passed 0.03 sec Start 1231: RoadRunnerAPITestsWithLLJit.removeReactionButNotUnusedParameters 1231/3476 Test #1231: RoadRunnerAPITestsWithLLJit.removeReactionButNotUnusedParameters .................................. Passed 0.04 sec Start 1232: RoadRunnerAPITestsWithLLJit.setReversible 1232/3476 Test #1232: RoadRunnerAPITestsWithLLJit.setReversible .........................................................***Not Run (Disabled) 0.00 sec Start 1233: RoadRunnerAPITestsWithLLJit.setKineticLaw 1233/3476 Test #1233: RoadRunnerAPITestsWithLLJit.setKineticLaw ......................................................... Passed 0.04 sec Start 1234: RoadRunnerAPITestsWithLLJit.addParameter 1234/3476 Test #1234: RoadRunnerAPITestsWithLLJit.addParameter .......................................................... Passed 0.04 sec Start 1235: RoadRunnerAPITestsWithLLJit.removeParameter 1235/3476 Test #1235: RoadRunnerAPITestsWithLLJit.removeParameter ....................................................... Passed 0.03 sec Start 1236: RoadRunnerAPITestsWithLLJit.addCompartment 1236/3476 Test #1236: RoadRunnerAPITestsWithLLJit.addCompartment ........................................................ Passed 0.03 sec Start 1237: RoadRunnerAPITestsWithLLJit.removeCompartment 1237/3476 Test #1237: RoadRunnerAPITestsWithLLJit.removeCompartment ..................................................... Passed 0.04 sec Start 1238: RoadRunnerAPITestsWithLLJit.addAssignmentRule 1238/3476 Test #1238: RoadRunnerAPITestsWithLLJit.addAssignmentRule ..................................................... Passed 0.04 sec Start 1239: RoadRunnerAPITestsWithLLJit.addRateRule 1239/3476 Test #1239: RoadRunnerAPITestsWithLLJit.addRateRule ........................................................... Passed 0.04 sec Start 1240: RoadRunnerAPITestsWithLLJit.removeRules 1240/3476 Test #1240: RoadRunnerAPITestsWithLLJit.removeRules ........................................................... Passed 0.04 sec Start 1241: RoadRunnerAPITestsWithLLJit.addInitialAssignment 1241/3476 Test #1241: RoadRunnerAPITestsWithLLJit.addInitialAssignment .................................................. Passed 0.03 sec Start 1242: RoadRunnerAPITestsWithLLJit.removeInitialAssignment 1242/3476 Test #1242: RoadRunnerAPITestsWithLLJit.removeInitialAssignment ............................................... Passed 0.04 sec Start 1243: RoadRunnerAPITestsWithLLJit.addEvent 1243/3476 Test #1243: RoadRunnerAPITestsWithLLJit.addEvent .............................................................. Passed 0.04 sec Start 1244: RoadRunnerAPITestsWithLLJit.addTrigger 1244/3476 Test #1244: RoadRunnerAPITestsWithLLJit.addTrigger ............................................................ Passed 0.03 sec Start 1245: RoadRunnerAPITestsWithLLJit.setPersistent 1245/3476 Test #1245: RoadRunnerAPITestsWithLLJit.setPersistent ......................................................... Passed 0.03 sec Start 1246: RoadRunnerAPITestsWithLLJit.setTriggerInitialValue 1246/3476 Test #1246: RoadRunnerAPITestsWithLLJit.setTriggerInitialValue ................................................ Passed 0.03 sec Start 1247: RoadRunnerAPITestsWithLLJit.addPriority 1247/3476 Test #1247: RoadRunnerAPITestsWithLLJit.addPriority ........................................................... Passed 0.03 sec Start 1248: RoadRunnerAPITestsWithLLJit.addDelay 1248/3476 Test #1248: RoadRunnerAPITestsWithLLJit.addDelay .............................................................. Passed 0.02 sec Start 1249: RoadRunnerAPITestsWithLLJit.addEventAssignment 1249/3476 Test #1249: RoadRunnerAPITestsWithLLJit.addEventAssignment .................................................... Passed 0.03 sec Start 1250: RoadRunnerAPITestsWithLLJit.removeEventAssignments 1250/3476 Test #1250: RoadRunnerAPITestsWithLLJit.removeEventAssignments ................................................ Passed 0.03 sec Start 1251: RoadRunnerAPITestsWithLLJit.removeEvent 1251/3476 Test #1251: RoadRunnerAPITestsWithLLJit.removeEvent ........................................................... Passed 0.04 sec Start 1252: RoadRunnerAPITestsWithLLJit.validateCurrentSBML 1252/3476 Test #1252: RoadRunnerAPITestsWithLLJit.validateCurrentSBML ................................................... Passed 0.03 sec Start 1253: RoadRunnerAPITestsWithLLJit.mcaSteadyState 1253/3476 Test #1253: RoadRunnerAPITestsWithLLJit.mcaSteadyState ........................................................***Not Run (Disabled) 0.00 sec Start 1254: RoadRunnerAPITestsWithLLJit.steadyState 1254/3476 Test #1254: RoadRunnerAPITestsWithLLJit.steadyState ........................................................... Passed 0.04 sec Start 1255: RoadRunnerAPITestsWithLLJit.steadyStateNamedArray 1255/3476 Test #1255: RoadRunnerAPITestsWithLLJit.steadyStateNamedArray ................................................. Passed 0.05 sec Start 1256: RoadRunnerAPITestsWithLLJit.getSteadyStateSelections 1256/3476 Test #1256: RoadRunnerAPITestsWithLLJit.getSteadyStateSelections .............................................. Passed 0.03 sec Start 1257: RoadRunnerAPITestsWithLLJit.setSteadyStateSelections 1257/3476 Test #1257: RoadRunnerAPITestsWithLLJit.setSteadyStateSelections .............................................. Passed 0.03 sec Start 1258: RoadRunnerAPITestsWithLLJit.getSteadyStateSelectionStrings 1258/3476 Test #1258: RoadRunnerAPITestsWithLLJit.getSteadyStateSelectionStrings ........................................ Passed 0.03 sec Start 1259: RoadRunnerAPITestsWithLLJit.regenerateModel 1259/3476 Test #1259: RoadRunnerAPITestsWithLLJit.regenerateModel ....................................................... Passed 0.04 sec Start 1260: RoadRunnerAPITestsWithLLJit.getIntegratorDefault 1260/3476 Test #1260: RoadRunnerAPITestsWithLLJit.getIntegratorDefault .................................................. Passed 0.03 sec Start 1261: RoadRunnerAPITestsWithLLJit.getSensitivitySolver 1261/3476 Test #1261: RoadRunnerAPITestsWithLLJit.getSensitivitySolver .................................................. Passed 0.03 sec Start 1262: RoadRunnerAPITestsWithLLJit.getIntegratorByName 1262/3476 Test #1262: RoadRunnerAPITestsWithLLJit.getIntegratorByName ................................................... Passed 0.03 sec Start 1263: RoadRunnerAPITestsWithLLJit.getSensitivitySolverByName 1263/3476 Test #1263: RoadRunnerAPITestsWithLLJit.getSensitivitySolverByName ............................................***Not Run (Disabled) 0.00 sec Start 1264: RoadRunnerAPITestsWithLLJit.makeIntegrator 1264/3476 Test #1264: RoadRunnerAPITestsWithLLJit.makeIntegrator ........................................................ Passed 0.03 sec Start 1265: RoadRunnerAPITestsWithLLJit.makeSteadyStateSolver 1265/3476 Test #1265: RoadRunnerAPITestsWithLLJit.makeSteadyStateSolver ................................................. Passed 0.03 sec Start 1266: RoadRunnerAPITestsWithLLJit.makeSensitivitySolver 1266/3476 Test #1266: RoadRunnerAPITestsWithLLJit.makeSensitivitySolver .................................................***Not Run (Disabled) 0.00 sec Start 1267: RoadRunnerAPITestsWithLLJit.getExistingIntegratorNamesOneExists 1267/3476 Test #1267: RoadRunnerAPITestsWithLLJit.getExistingIntegratorNamesOneExists ................................... Passed 0.03 sec Start 1268: RoadRunnerAPITestsWithLLJit.getExistingIntegratorNamesTwoExists 1268/3476 Test #1268: RoadRunnerAPITestsWithLLJit.getExistingIntegratorNamesTwoExists ................................... Passed 0.03 sec Start 1269: RoadRunnerAPITestsWithLLJit.getExistingSensitivitySolverNames 1269/3476 Test #1269: RoadRunnerAPITestsWithLLJit.getExistingSensitivitySolverNames ..................................... Passed 0.03 sec Start 1270: RoadRunnerAPITestsWithLLJit.getRegisteredIntegratorNames 1270/3476 Test #1270: RoadRunnerAPITestsWithLLJit.getRegisteredIntegratorNames .......................................... Passed 0.03 sec Start 1271: RoadRunnerAPITestsWithLLJit.getRegisteredSensitivitySolverNames 1271/3476 Test #1271: RoadRunnerAPITestsWithLLJit.getRegisteredSensitivitySolverNames ................................... Passed 0.03 sec Start 1272: RoadRunnerAPITestsWithLLJit.setIntegrator 1272/3476 Test #1272: RoadRunnerAPITestsWithLLJit.setIntegrator ......................................................... Passed 0.03 sec Start 1273: RoadRunnerAPITestsWithLLJit.setIntegratorToRk4 1273/3476 Test #1273: RoadRunnerAPITestsWithLLJit.setIntegratorToRk4 .................................................... Passed 0.03 sec Start 1274: RoadRunnerAPITestsWithLLJit.setIntegratorToRk45 1274/3476 Test #1274: RoadRunnerAPITestsWithLLJit.setIntegratorToRk45 ................................................... Passed 0.03 sec Start 1275: RoadRunnerAPITestsWithLLJit.setIntegratorErrorMessage 1275/3476 Test #1275: RoadRunnerAPITestsWithLLJit.setIntegratorErrorMessage ............................................. Passed 0.03 sec Start 1276: RoadRunnerAPITestsWithLLJit.setSensitivitySolverErrorMessage 1276/3476 Test #1276: RoadRunnerAPITestsWithLLJit.setSensitivitySolverErrorMessage ...................................... Passed 0.03 sec Start 1277: RoadRunnerAPITestsWithLLJit.setSensitivitySolver 1277/3476 Test #1277: RoadRunnerAPITestsWithLLJit.setSensitivitySolver .................................................. Passed 0.03 sec Start 1278: RoadRunnerAPITestsWithLLJit.integratorExistsWhenTrue 1278/3476 Test #1278: RoadRunnerAPITestsWithLLJit.integratorExistsWhenTrue .............................................. Passed 0.03 sec Start 1279: RoadRunnerAPITestsWithLLJit.sensitivitySolverExistsWhenTrue 1279/3476 Test #1279: RoadRunnerAPITestsWithLLJit.sensitivitySolverExistsWhenTrue ....................................... Passed 0.03 sec Start 1280: RoadRunnerAPITestsWithLLJit.integratorExistsWhenFalse 1280/3476 Test #1280: RoadRunnerAPITestsWithLLJit.integratorExistsWhenFalse ............................................. Passed 0.03 sec Start 1281: RoadRunnerAPITestsWithLLJit.sensitivitySolverExistsWhenFalse 1281/3476 Test #1281: RoadRunnerAPITestsWithLLJit.sensitivitySolverExistsWhenFalse ......................................***Not Run (Disabled) 0.00 sec Start 1282: GillespieTests.OddStoichiometries 1282/3476 Test #1282: GillespieTests.OddStoichiometries ................................................................. Passed 0.07 sec Start 1283: GillespieTests.Seed 1283/3476 Test #1283: GillespieTests.Seed ............................................................................... Passed 0.05 sec Start 1284: GillespieTests.SetSeedUsingInactiveIntegrator 1284/3476 Test #1284: GillespieTests.SetSeedUsingInactiveIntegrator ..................................................... Passed 0.05 sec Start 1285: GillespieTests.MaxStepSize 1285/3476 Test #1285: GillespieTests.MaxStepSize ........................................................................ Passed 0.04 sec Start 1286: GillespieTests.NegativeAmountDoesNotFreezeRun 1286/3476 Test #1286: GillespieTests.NegativeAmountDoesNotFreezeRun ..................................................... Passed 0.07 sec Start 1287: GillespieTests.MaxNumSteps 1287/3476 Test #1287: GillespieTests.MaxNumSteps ........................................................................ Passed 0.05 sec Start 1288: GillespieTests.TimeDependentPropensityMatchesODE 1288/3476 Test #1288: GillespieTests.TimeDependentPropensityMatchesODE .................................................. Passed 0.21 sec Start 1289: GillespieTests.MeanOnGridWorksWithoutAnyPriorSimulation 1289/3476 Test #1289: GillespieTests.MeanOnGridWorksWithoutAnyPriorSimulation ........................................... Passed 0.05 sec Start 1290: GillespieTests.MeanOnGridIgnoresUnrelatedPriorSimulationShape 1290/3476 Test #1290: GillespieTests.MeanOnGridIgnoresUnrelatedPriorSimulationShape ..................................... Passed 0.05 sec Start 1291: GillespieTests.MeanOnGridAveragesAllSpeciesColumns 1291/3476 Test #1291: GillespieTests.MeanOnGridAveragesAllSpeciesColumns ................................................ Passed 0.04 sec Start 1292: GillespieTests.MeanSDOnGridReturnsMeanAndRealStandardDeviationTogether 1292/3476 Test #1292: GillespieTests.MeanSDOnGridReturnsMeanAndRealStandardDeviationTogether ............................ Passed 0.05 sec Start 1293: EulerIntegratorTests.ReloadResizesBuffersAndEventsWithoutStaleModel 1293/3476 Test #1293: EulerIntegratorTests.ReloadResizesBuffersAndEventsWithoutStaleModel ............................... Passed 0.08 sec Start 1294: RK45IntegratorTests.FixedOutputGridIntegratesToTheOutputTimes 1294/3476 Test #1294: RK45IntegratorTests.FixedOutputGridIntegratesToTheOutputTimes ..................................... Passed 0.12 sec Start 1295: RK45IntegratorTests.FixedOutputGridAgreesWithCVODE 1295/3476 Test #1295: RK45IntegratorTests.FixedOutputGridAgreesWithCVODE ................................................ Passed 0.05 sec Start 1296: RK45IntegratorTests.IntegrateReturnsEndOfIntervalWithoutVariableStepSize 1296/3476 Test #1296: RK45IntegratorTests.IntegrateReturnsEndOfIntervalWithoutVariableStepSize .......................... Passed 0.04 sec Start 1297: RK45IntegratorTests.VariableStepRunLandsOnEndTimeAndIsAccurate 1297/3476 Test #1297: RK45IntegratorTests.VariableStepRunLandsOnEndTimeAndIsAccurate .................................... Passed 0.12 sec Start 1298: RK45IntegratorTests.MaximumTimeStepSetAfterCreationIsUsed 1298/3476 Test #1298: RK45IntegratorTests.MaximumTimeStepSetAfterCreationIsUsed ......................................... Passed 0.04 sec Start 1299: RK45IntegratorTests.EpsilonControlsTheError 1299/3476 Test #1299: RK45IntegratorTests.EpsilonControlsTheError ....................................................... Passed 0.07 sec Start 1300: SparseMatrixTests.GetNzValidIndexReturnsStoredValue 1300/3476 Test #1300: SparseMatrixTests.GetNzValidIndexReturnsStoredValue ............................................... Passed 0.02 sec Start 1301: SparseMatrixTests.GetNzRowEqualToDimensionIsRejected 1301/3476 Test #1301: SparseMatrixTests.GetNzRowEqualToDimensionIsRejected .............................................. Passed 0.02 sec Start 1302: SparseMatrixTests.GetNzColEqualToDimensionIsRejected 1302/3476 Test #1302: SparseMatrixTests.GetNzColEqualToDimensionIsRejected .............................................. Passed 0.02 sec Start 1303: SparseMatrixTests.SetNzRowEqualToDimensionIsRejected 1303/3476 Test #1303: SparseMatrixTests.SetNzRowEqualToDimensionIsRejected .............................................. Passed 0.02 sec Start 1304: SparseMatrixTests.SetNzColEqualToDimensionIsRejected 1304/3476 Test #1304: SparseMatrixTests.SetNzColEqualToDimensionIsRejected .............................................. Passed 0.02 sec Start 1305: IniFileTests.LoadDoesNotThrowOnSectionMissingClosingBracket 1305/3476 Test #1305: IniFileTests.LoadDoesNotThrowOnSectionMissingClosingBracket ....................................... Passed 0.02 sec Start 1306: IniFileTests.LoadSectionDoesNotThrowOnSectionMissingClosingBracket 1306/3476 Test #1306: IniFileTests.LoadSectionDoesNotThrowOnSectionMissingClosingBracket ................................ Passed 0.02 sec Start 1307: LoggerTests.LoggingBufferStream 1307/3476 Test #1307: LoggerTests.LoggingBufferStream ................................................................... Passed 0.01 sec Start 1308: LoggerTests.SetLevel 1308/3476 Test #1308: LoggerTests.SetLevel .............................................................................. Passed 0.01 sec Start 1309: LoggerTests.disableLogging 1309/3476 Test #1309: LoggerTests.disableLogging ........................................................................ Passed 0.01 sec Start 1310: LoggerTests.disableConsoleLogging 1310/3476 Test #1310: LoggerTests.disableConsoleLogging ................................................................. Passed 0.01 sec Start 1311: LoggerTests.enableConsoleLogging 1311/3476 Test #1311: LoggerTests.enableConsoleLogging ..................................................................***Not Run (Disabled) 0.00 sec Start 1312: LoggerTests.enableFileLogging 1312/3476 Test #1312: LoggerTests.enableFileLogging .....................................................................***Not Run (Disabled) 0.00 sec Start 1313: LoggerTests.getCurrentLevelAsString 1313/3476 Test #1313: LoggerTests.getCurrentLevelAsString ............................................................... Passed 0.01 sec Start 1314: LoggerTests.getFileName 1314/3476 Test #1314: LoggerTests.getFileName ........................................................................... Passed 0.01 sec Start 1315: LoggerTests.setFormattingPattern 1315/3476 Test #1315: LoggerTests.setFormattingPattern .................................................................. Passed 0.01 sec Start 1316: LoggerTests.getFormattingPattern 1316/3476 Test #1316: LoggerTests.getFormattingPattern .................................................................. Passed 0.02 sec Start 1317: LoggerTests.levelToString 1317/3476 Test #1317: LoggerTests.levelToString ......................................................................... Passed 0.02 sec Start 1318: LoggerTests.stringToLevel 1318/3476 Test #1318: LoggerTests.stringToLevel ......................................................................... Passed 0.02 sec Start 1319: LoggerTests.getColoredOutput_ 1319/3476 Test #1319: LoggerTests.getColoredOutput_ ..................................................................... Passed 0.02 sec Start 1320: LoggerTests.setColoredOutput_ 1320/3476 Test #1320: LoggerTests.setColoredOutput_ ..................................................................... Passed 0.02 sec Start 1321: LoggerTests.setProperty_ 1321/3476 Test #1321: LoggerTests.setProperty_ .......................................................................... Passed 0.01 sec Start 1322: LoggerTests.log_ 1322/3476 Test #1322: LoggerTests.log_ .................................................................................. Passed 0.02 sec Start 1323: LoggerTests.setConsoleStream_ 1323/3476 Test #1323: LoggerTests.setConsoleStream_ ..................................................................... Passed 0.02 sec Start 1324: BasicDictionaryTests.setItem 1324/3476 Test #1324: BasicDictionaryTests.setItem ...................................................................... Passed 0.02 sec Start 1325: BasicDictionaryTests.hasKeyWhenTrue 1325/3476 Test #1325: BasicDictionaryTests.hasKeyWhenTrue ............................................................... Passed 0.02 sec Start 1326: BasicDictionaryTests.hasKeyWhenFalse 1326/3476 Test #1326: BasicDictionaryTests.hasKeyWhenFalse .............................................................. Passed 0.02 sec Start 1327: BasicDictionaryTests.deleteItem 1327/3476 Test #1327: BasicDictionaryTests.deleteItem ................................................................... Passed 0.01 sec Start 1328: BasicDictionaryTests.getKeys 1328/3476 Test #1328: BasicDictionaryTests.getKeys ...................................................................... Passed 0.02 sec Start 1329: SelectionRecordTests.TIME 1329/3476 Test #1329: SelectionRecordTests.TIME ......................................................................... Passed 0.05 sec Start 1330: SelectionRecordTests.REACTION_RATE 1330/3476 Test #1330: SelectionRecordTests.REACTION_RATE ................................................................ Passed 0.05 sec Start 1331: SelectionRecordTests.NO_SUCH_ELEMENT 1331/3476 Test #1331: SelectionRecordTests.NO_SUCH_ELEMENT .............................................................. Passed 0.05 sec Start 1332: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION 1332/3476 Test #1332: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION .................................................. Passed 0.05 sec Start 1333: SelectionRecordTests.NO_SUCH_ELEMENT_SET 1333/3476 Test #1333: SelectionRecordTests.NO_SUCH_ELEMENT_SET .......................................................... Passed 0.05 sec Start 1334: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION_SET 1334/3476 Test #1334: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION_SET .............................................. Passed 0.05 sec Start 1335: SelectionRecordTests.NO_SUCH_ELEMENT_GET 1335/3476 Test #1335: SelectionRecordTests.NO_SUCH_ELEMENT_GET .......................................................... Passed 0.05 sec Start 1336: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION_GET 1336/3476 Test #1336: SelectionRecordTests.NO_SUCH_ELEMENT_COMBINATION_GET .............................................. Passed 0.05 sec Start 1337: SelectionRecordTests.BOUNDARY_CONCENTRATION 1337/3476 Test #1337: SelectionRecordTests.BOUNDARY_CONCENTRATION ....................................................... Passed 0.08 sec Start 1338: SelectionRecordTests.BOUNDARY_AMOUNT 1338/3476 Test #1338: SelectionRecordTests.BOUNDARY_AMOUNT .............................................................. Passed 0.08 sec Start 1339: SelectionRecordTests.UNKNOWN 1339/3476 Test #1339: SelectionRecordTests.UNKNOWN ...................................................................... Passed 0.05 sec Start 1340: SelectionRecordTests.FLOATING_AMOUNT 1340/3476 Test #1340: SelectionRecordTests.FLOATING_AMOUNT .............................................................. Passed 0.05 sec Start 1341: SelectionRecordTests.FLOATING_CONCENTRATION 1341/3476 Test #1341: SelectionRecordTests.FLOATING_CONCENTRATION ....................................................... Passed 0.05 sec Start 1342: SelectionRecordTests.INITIAL_FLOATING_AMOUNT 1342/3476 Test #1342: SelectionRecordTests.INITIAL_FLOATING_AMOUNT ...................................................... Passed 0.05 sec Start 1343: SelectionRecordTests.INITIAL_FLOATING_CONCENTRATION 1343/3476 Test #1343: SelectionRecordTests.INITIAL_FLOATING_CONCENTRATION ............................................... Passed 0.05 sec Start 1344: SelectionRecordTests.INITIAL_BOUNDARY_AMOUNT 1344/3476 Test #1344: SelectionRecordTests.INITIAL_BOUNDARY_AMOUNT ...................................................... Passed 0.08 sec Start 1345: SelectionRecordTests.INITIAL_BOUNDARY_CONCENTRATION 1345/3476 Test #1345: SelectionRecordTests.INITIAL_BOUNDARY_CONCENTRATION ............................................... Passed 0.08 sec Start 1346: SelectionRecordTests.EIGENVALUE_COMPLEX 1346/3476 Test #1346: SelectionRecordTests.EIGENVALUE_COMPLEX ........................................................... Passed 0.05 sec Start 1347: SelectionRecordTests.EIGENVALUE_REAL 1347/3476 Test #1347: SelectionRecordTests.EIGENVALUE_REAL .............................................................. Passed 0.05 sec Start 1348: SelectionRecordTests.EIGENVALUE_IMAG 1348/3476 Test #1348: SelectionRecordTests.EIGENVALUE_IMAG .............................................................. Passed 0.05 sec Start 1349: SelectionRecordTests.STOICHIOMETRY 1349/3476 Test #1349: SelectionRecordTests.STOICHIOMETRY ................................................................ Passed 0.05 sec Start 1350: SelectionRecordTests.CONSERVED_MOIETY 1350/3476 Test #1350: SelectionRecordTests.CONSERVED_MOIETY ............................................................. Passed 0.08 sec Start 1351: SelectionRecordTests.EVENT 1351/3476 Test #1351: SelectionRecordTests.EVENT ........................................................................ Passed 0.05 sec Start 1352: SelectionRecordTests.COMPARTMENT 1352/3476 Test #1352: SelectionRecordTests.COMPARTMENT .................................................................. Passed 0.05 sec Start 1353: SelectionRecordTests.GLOBAL_PARAMETER 1353/3476 Test #1353: SelectionRecordTests.GLOBAL_PARAMETER ............................................................. Passed 0.05 sec Start 1354: SelectionRecordTests.FLOATING_AMOUNT_RATE 1354/3476 Test #1354: SelectionRecordTests.FLOATING_AMOUNT_RATE ......................................................... Passed 0.05 sec Start 1355: SelectionRecordTests.FLOATING_CONCENTRATION_RATE 1355/3476 Test #1355: SelectionRecordTests.FLOATING_CONCENTRATION_RATE .................................................. Passed 0.05 sec Start 1356: SelectionRecordTests.GLOBAL_PARAMETER_RATE 1356/3476 Test #1356: SelectionRecordTests.GLOBAL_PARAMETER_RATE ........................................................ Passed 0.05 sec Start 1357: SelectionRecordTests.COMPARTMENT_RATE 1357/3476 Test #1357: SelectionRecordTests.COMPARTMENT_RATE ............................................................. Passed 0.05 sec Start 1358: SelectionRecordTests.INITIAL_COMPARTMENT 1358/3476 Test #1358: SelectionRecordTests.INITIAL_COMPARTMENT .......................................................... Passed 0.05 sec Start 1359: SelectionRecordTests.INITIAL_GLOBAL_PARAMETER 1359/3476 Test #1359: SelectionRecordTests.INITIAL_GLOBAL_PARAMETER ..................................................... Passed 0.05 sec Start 1360: SelectionRecordTests.UNSCALED_ELASTICITY 1360/3476 Test #1360: SelectionRecordTests.UNSCALED_ELASTICITY .......................................................... Passed 0.05 sec Start 1361: SelectionRecordTests.ELASTICITY 1361/3476 Test #1361: SelectionRecordTests.ELASTICITY ................................................................... Passed 0.05 sec Start 1362: SelectionRecordTests.UNSCALED_CONTROL 1362/3476 Test #1362: SelectionRecordTests.UNSCALED_CONTROL ............................................................. Passed 0.05 sec Start 1363: SelectionRecordTests.CONTROL 1363/3476 Test #1363: SelectionRecordTests.CONTROL ...................................................................... Passed 0.05 sec Start 1364: SelectionRecordTests.AllIDs 1364/3476 Test #1364: SelectionRecordTests.AllIDs ....................................................................... Passed 0.36 sec Start 1365: SelectionRecordTests.MODIFY_STEADY_STATE_SELECTIONS_LIST 1365/3476 Test #1365: SelectionRecordTests.MODIFY_STEADY_STATE_SELECTIONS_LIST .......................................... Passed 0.09 sec Start 1366: LoadSBMLOptionsTests.ConservedMoieties 1366/3476 Test #1366: LoadSBMLOptionsTests.ConservedMoieties ............................................................ Passed 0.02 sec Start 1367: LoadSBMLOptionsTests.Recompile 1367/3476 Test #1367: LoadSBMLOptionsTests.Recompile .................................................................... Passed 0.02 sec Start 1368: LoadSBMLOptionsTests.ReadOnly 1368/3476 Test #1368: LoadSBMLOptionsTests.ReadOnly ..................................................................... Passed 0.02 sec Start 1369: LoadSBMLOptionsTests.MutableInitialConditions 1369/3476 Test #1369: LoadSBMLOptionsTests.MutableInitialConditions ..................................................... Passed 0.02 sec Start 1370: LoadSBMLOptionsTests.OptimizeGVN 1370/3476 Test #1370: LoadSBMLOptionsTests.OptimizeGVN .................................................................. Passed 0.02 sec Start 1371: LoadSBMLOptionsTests.OptimizeCFGSimpleflication 1371/3476 Test #1371: LoadSBMLOptionsTests.OptimizeCFGSimpleflication ................................................... Passed 0.02 sec Start 1372: LoadSBMLOptionsTests.OptimizeIntructionCombining 1372/3476 Test #1372: LoadSBMLOptionsTests.OptimizeIntructionCombining .................................................. Passed 0.02 sec Start 1373: LoadSBMLOptionsTests.OptimizeDeadInstElimination 1373/3476 Test #1373: LoadSBMLOptionsTests.OptimizeDeadInstElimination .................................................. Passed 0.02 sec Start 1374: LoadSBMLOptionsTests.OptimizeDeadCodeElimination 1374/3476 Test #1374: LoadSBMLOptionsTests.OptimizeDeadCodeElimination .................................................. Passed 0.02 sec Start 1375: LoadSBMLOptionsTests.OptimizeInstructionSimplifier 1375/3476 Test #1375: LoadSBMLOptionsTests.OptimizeInstructionSimplifier ................................................ Passed 0.02 sec Start 1376: LoadSBMLOptionsTests.UseMCJit 1376/3476 Test #1376: LoadSBMLOptionsTests.UseMCJit ..................................................................... Passed 0.02 sec Start 1377: LoadSBMLOptionsTests.LLVMSymbolCache 1377/3476 Test #1377: LoadSBMLOptionsTests.LLVMSymbolCache .............................................................. Passed 0.02 sec Start 1378: LoadSBMLOptionsTests.ConservedMoietyConversionGetterAndSetter 1378/3476 Test #1378: LoadSBMLOptionsTests.ConservedMoietyConversionGetterAndSetter ..................................... Passed 0.02 sec Start 1379: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJit 1379/3476 Test #1379: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJit .................................................... Passed 0.02 sec Start 1380: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitNotLLJit 1380/3476 Test #1380: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitNotLLJit ............................................ Passed 0.02 sec Start 1381: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitViaSBMLLoadOptions 1381/3476 Test #1381: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitViaSBMLLoadOptions .................................. Passed 0.02 sec Start 1382: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitViaSBMLLoadOptionsNotLLJit 1382/3476 Test #1382: LoadSBMLOptionsTests.LLVMBackendDefaultToMCJitViaSBMLLoadOptionsNotLLJit .......................... Passed 0.01 sec Start 1383: LoadSBMLOptionsTests.LLVMBackendSetToLLJit 1383/3476 Test #1383: LoadSBMLOptionsTests.LLVMBackendSetToLLJit ........................................................ Passed 0.02 sec Start 1384: LoadSBMLOptionsTests.LLVMBackendSetToLLJitMCJitFalse 1384/3476 Test #1384: LoadSBMLOptionsTests.LLVMBackendSetToLLJitMCJitFalse .............................................. Passed 0.02 sec Start 1385: LoadSBMLOptionsTests.LLVMBackendSetToLLJitAccessViaLoadSBMLOptions 1385/3476 Test #1385: LoadSBMLOptionsTests.LLVMBackendSetToLLJitAccessViaLoadSBMLOptions ................................ Passed 0.02 sec Start 1386: LoadSBMLOptionsTests.LLVMBackendSetToLLJitAccessViaLoadSBMLOptionsNotMCJit 1386/3476 Test #1386: LoadSBMLOptionsTests.LLVMBackendSetToLLJitAccessViaLoadSBMLOptionsNotMCJit ........................ Passed 0.02 sec Start 1387: LoadSBMLOptionsTests.LLJITOptimizationLevelNone 1387/3476 Test #1387: LoadSBMLOptionsTests.LLJITOptimizationLevelNone ................................................... Passed 0.02 sec Start 1388: LoadSBMLOptionsTests.LLJITOptimizationLevelLess 1388/3476 Test #1388: LoadSBMLOptionsTests.LLJITOptimizationLevelLess ................................................... Passed 0.02 sec Start 1389: LoadSBMLOptionsTests.LLJITOptimizationLevelDefault 1389/3476 Test #1389: LoadSBMLOptionsTests.LLJITOptimizationLevelDefault ................................................ Passed 0.02 sec Start 1390: LoadSBMLOptionsTests.LLJITOptimizationLevelAggressive 1390/3476 Test #1390: LoadSBMLOptionsTests.LLJITOptimizationLevelAggressive ............................................. Passed 0.02 sec Start 1391: LoadSBMLOptionsTests.LLJITOptimizationLevelAggressiveFromConfig 1391/3476 Test #1391: LoadSBMLOptionsTests.LLJITOptimizationLevelAggressiveFromConfig ................................... Passed 0.02 sec Start 1392: ConfigTests.getString 1392/3476 Test #1392: ConfigTests.getString ............................................................................. Passed 0.02 sec Start 1393: ConfigTests.getInt 1393/3476 Test #1393: ConfigTests.getInt ................................................................................ Passed 0.02 sec Start 1394: ConfigTests.getBool 1394/3476 Test #1394: ConfigTests.getBool ............................................................................... Passed 0.02 sec Start 1395: ConfigTests.getDouble 1395/3476 Test #1395: ConfigTests.getDouble ............................................................................. Passed 0.02 sec Start 1396: ConfigTests.getConfigFilePathFromHOME 1396/3476 Test #1396: ConfigTests.getConfigFilePathFromHOME ............................................................. Passed 0.02 sec Start 1397: ConfigTests.getAndSetValue 1397/3476 Test #1397: ConfigTests.getAndSetValue ........................................................................ Passed 0.02 sec Start 1398: ConfigTests.readConfigFile 1398/3476 Test #1398: ConfigTests.readConfigFile ........................................................................ Passed 0.02 sec Start 1399: ConfigTests.writeConfigFile 1399/3476 Test #1399: ConfigTests.writeConfigFile ....................................................................... Passed 0.02 sec Start 1400: ConfigTests.stringToKey 1400/3476 Test #1400: ConfigTests.stringToKey ........................................................................... Passed 0.02 sec Start 1401: ConfigTests.SetLLVMBackendToLLJit 1401/3476 Test #1401: ConfigTests.SetLLVMBackendToLLJit ................................................................. Passed 0.02 sec Start 1402: ConfigTests.SetLLVMBackendToMCJit 1402/3476 Test #1402: ConfigTests.SetLLVMBackendToMCJit ................................................................. Passed 0.02 sec Start 1403: ConfigTests.SetLLJitOptLevelToNone 1403/3476 Test #1403: ConfigTests.SetLLJitOptLevelToNone ................................................................ Passed 0.02 sec Start 1404: ConfigTests.SetLLJitOptLevelToLess 1404/3476 Test #1404: ConfigTests.SetLLJitOptLevelToLess ................................................................ Passed 0.02 sec Start 1405: ConfigTests.SetLLJitOptLevelToDefault 1405/3476 Test #1405: ConfigTests.SetLLJitOptLevelToDefault ............................................................. Passed 0.02 sec Start 1406: ConfigTests.SetLLJitOptLevelToAggressive 1406/3476 Test #1406: ConfigTests.SetLLJitOptLevelToAggressive .......................................................... Passed 0.02 sec Start 1407: ConfigTests.SetLLJitNumThreadsTo7 1407/3476 Test #1407: ConfigTests.SetLLJitNumThreadsTo7 ................................................................. Passed 0.02 sec Start 1408: ConfigTests.SetSeedToNighMaxValues 1408/3476 Test #1408: ConfigTests.SetSeedToNighMaxValues ................................................................ Passed 0.02 sec Start 1409: MatrixTests.TestEqualityWithIntsTrue 1409/3476 Test #1409: MatrixTests.TestEqualityWithIntsTrue .............................................................. Passed 0.02 sec Start 1410: MatrixTests.TestEqualityWithIntsFalse 1410/3476 Test #1410: MatrixTests.TestEqualityWithIntsFalse ............................................................. Passed 0.02 sec Start 1411: MatrixTests.TestAlmostEqualsWhenTrue 1411/3476 Test #1411: MatrixTests.TestAlmostEqualsWhenTrue .............................................................. Passed 0.02 sec Start 1412: MatrixTests.TestAlmostEqualsWhenFalse 1412/3476 Test #1412: MatrixTests.TestAlmostEqualsWhenFalse ............................................................. Passed 0.02 sec Start 1413: MatrixTests.TestAlmostEqualsWhenFalseReverseDirection 1413/3476 Test #1413: MatrixTests.TestAlmostEqualsWhenFalseReverseDirection ............................................. Passed 0.02 sec Start 1414: MatrixTests.TestAlmostEqualsWithNaNDifferenceIsFalse 1414/3476 Test #1414: MatrixTests.TestAlmostEqualsWithNaNDifferenceIsFalse .............................................. Passed 0.02 sec Start 1415: MatrixTests.TestAlmostEqualsWhenFalseButAcceptableTolerance 1415/3476 Test #1415: MatrixTests.TestAlmostEqualsWhenFalseButAcceptableTolerance ....................................... Passed 0.02 sec Start 1416: MatrixTests.CheckEmptyWhenTrue 1416/3476 Test #1416: MatrixTests.CheckEmptyWhenTrue .................................................................... Passed 0.02 sec Start 1417: MatrixTests.CheckEmptyWhenTrueWithColnames 1417/3476 Test #1417: MatrixTests.CheckEmptyWhenTrueWithColnames ........................................................ Passed 0.02 sec Start 1418: MatrixTests.CheckEmptyWhenFalse 1418/3476 Test #1418: MatrixTests.CheckEmptyWhenFalse ................................................................... Passed 0.02 sec Start 1419: MatrixTests.CheckEqualityOfEmptyMatrices 1419/3476 Test #1419: MatrixTests.CheckEqualityOfEmptyMatrices .......................................................... Passed 0.02 sec Start 1420: MatrixTests.ConstructorForLsMatrix 1420/3476 Test #1420: MatrixTests.ConstructorForLsMatrix ................................................................ Passed 0.02 sec Start 1421: MatrixTests.ConstructorForLsMatrixWithRowNames 1421/3476 Test #1421: MatrixTests.ConstructorForLsMatrixWithRowNames .................................................... Passed 0.02 sec Start 1422: MatrixTests.ConstructorForLsMatrixWithColNames 1422/3476 Test #1422: MatrixTests.ConstructorForLsMatrixWithColNames .................................................... Passed 0.02 sec Start 1423: MatrixTests.SortRowsByNames2 1423/3476 Test #1423: MatrixTests.SortRowsByNames2 ...................................................................... Passed 0.02 sec Start 1424: MatrixTests.SortRowsByNames3 1424/3476 Test #1424: MatrixTests.SortRowsByNames3 ...................................................................... Passed 0.02 sec Start 1425: MatrixTests.SortRowsByNames4 1425/3476 Test #1425: MatrixTests.SortRowsByNames4 ...................................................................... Passed 0.02 sec Start 1426: MatrixTests.SortColsByNames2 1426/3476 Test #1426: MatrixTests.SortColsByNames2 ...................................................................... Passed 0.02 sec Start 1427: MatrixTests.SortColsByNames6 1427/3476 Test #1427: MatrixTests.SortColsByNames6 ...................................................................... Passed 0.02 sec Start 1428: MatrixTests.DeleteRow2UsingIndex 1428/3476 Test #1428: MatrixTests.DeleteRow2UsingIndex .................................................................. Passed 0.02 sec Start 1429: MatrixTests.DeleteRow1UsingIndex 1429/3476 Test #1429: MatrixTests.DeleteRow1UsingIndex .................................................................. Passed 0.02 sec Start 1430: MatrixTests.DeleteRow0UsingIndex 1430/3476 Test #1430: MatrixTests.DeleteRow0UsingIndex .................................................................. Passed 0.02 sec Start 1431: MatrixTests.DeleteColumn2UsingIndex 1431/3476 Test #1431: MatrixTests.DeleteColumn2UsingIndex ............................................................... Passed 0.02 sec Start 1432: MatrixTests.DeleteColumn1UsingIndex 1432/3476 Test #1432: MatrixTests.DeleteColumn1UsingIndex ............................................................... Passed 0.02 sec Start 1433: MatrixTests.DeleteColumn0UsingIndex 1433/3476 Test #1433: MatrixTests.DeleteColumn0UsingIndex ............................................................... Passed 0.02 sec Start 1434: MatrixTests.DeleteRow2UsingString 1434/3476 Test #1434: MatrixTests.DeleteRow2UsingString ................................................................. Passed 0.02 sec Start 1435: MatrixTests.DeleteRow1UsingString 1435/3476 Test #1435: MatrixTests.DeleteRow1UsingString ................................................................. Passed 0.02 sec Start 1436: MatrixTests.DeleteRow0UsingString 1436/3476 Test #1436: MatrixTests.DeleteRow0UsingString ................................................................. Passed 0.02 sec Start 1437: MatrixTests.DeleteColumn2UsingString 1437/3476 Test #1437: MatrixTests.DeleteColumn2UsingString .............................................................. Passed 0.02 sec Start 1438: MatrixTests.DeleteColumn1UsingString 1438/3476 Test #1438: MatrixTests.DeleteColumn1UsingString .............................................................. Passed 0.02 sec Start 1439: MatrixTests.DeleteColumn0UsingString 1439/3476 Test #1439: MatrixTests.DeleteColumn0UsingString .............................................................. Passed 0.02 sec Start 1440: MatrixTests.DeleteColsByIndex3x4 1440/3476 Test #1440: MatrixTests.DeleteColsByIndex3x4 .................................................................. Passed 0.02 sec Start 1441: MatrixTests.DeleteColsByIndex3x5 1441/3476 Test #1441: MatrixTests.DeleteColsByIndex3x5 .................................................................. Passed 0.02 sec Start 1442: MatrixTests.DeleteCol1ByIndex4x3 1442/3476 Test #1442: MatrixTests.DeleteCol1ByIndex4x3 .................................................................. Passed 0.02 sec Start 1443: MatrixTests.DeleteCol2ByIndex4x3 1443/3476 Test #1443: MatrixTests.DeleteCol2ByIndex4x3 .................................................................. Passed 0.02 sec Start 1444: MatrixTests.DeleteRow3With5x3Matrix 1444/3476 Test #1444: MatrixTests.DeleteRow3With5x3Matrix ............................................................... Passed 0.02 sec Start 1445: MatrixTests.Delete2RowsByIndex 1445/3476 Test #1445: MatrixTests.Delete2RowsByIndex .................................................................... Passed 0.02 sec Start 1446: MatrixTests.Delete2RowsByName 1446/3476 Test #1446: MatrixTests.Delete2RowsByName ..................................................................... Passed 0.02 sec Start 1447: MatrixTests.Delete2ColsByName 1447/3476 Test #1447: MatrixTests.Delete2ColsByName ..................................................................... Passed 0.02 sec Start 1448: Matrix3DTests.CheckSlice 1448/3476 Test #1448: Matrix3DTests.CheckSlice .......................................................................... Passed 0.02 sec Start 1449: Matrix3DTests.CheckSlice3D 1449/3476 Test #1449: Matrix3DTests.CheckSlice3D ........................................................................ Passed 0.02 sec Start 1450: Matrix3DTests.CheckSlice2D 1450/3476 Test #1450: Matrix3DTests.CheckSlice2D ........................................................................ Passed 0.02 sec Start 1451: Matrix3DTests.CheckSlice1D 1451/3476 Test #1451: Matrix3DTests.CheckSlice1D ........................................................................ Passed 0.02 sec Start 1452: Matrix3DTests.CheckSlice3D3x4x2 1452/3476 Test #1452: Matrix3DTests.CheckSlice3D3x4x2 ................................................................... Passed 0.02 sec Start 1453: Matrix3DTests.NumRows 1453/3476 Test #1453: Matrix3DTests.NumRows ............................................................................. Passed 0.02 sec Start 1454: Matrix3DTests.NumCols 1454/3476 Test #1454: Matrix3DTests.NumCols ............................................................................. Passed 0.02 sec Start 1455: Matrix3DTests.NumZ 1455/3476 Test #1455: Matrix3DTests.NumZ ................................................................................ Passed 0.02 sec Start 1456: Matrix3DTests.InsertEmptyCheckNumRows 1456/3476 Test #1456: Matrix3DTests.InsertEmptyCheckNumRows ............................................................. Passed 0.02 sec Start 1457: Matrix3DTests.InsertEmptyCheckNumCols 1457/3476 Test #1457: Matrix3DTests.InsertEmptyCheckNumCols ............................................................. Passed 0.02 sec Start 1458: Matrix3DTests.InsertEmptyCheckNumZ 1458/3476 Test #1458: Matrix3DTests.InsertEmptyCheckNumZ ................................................................ Passed 0.02 sec Start 1459: Matrix3DTests.EqualsWhenTrue 1459/3476 Test #1459: Matrix3DTests.EqualsWhenTrue ...................................................................... Passed 0.02 sec Start 1460: Matrix3DTests.EqualsWhenFalseBecauseOfDifferentIdx 1460/3476 Test #1460: Matrix3DTests.EqualsWhenFalseBecauseOfDifferentIdx ................................................ Passed 0.02 sec Start 1461: Matrix3DTests.EqualsWhenFalseBecauseOfDifferentData 1461/3476 Test #1461: Matrix3DTests.EqualsWhenFalseBecauseOfDifferentData ............................................... Passed 0.02 sec Start 1462: Matrix3DTests.AlmostEqualsWhenTrue 1462/3476 Test #1462: Matrix3DTests.AlmostEqualsWhenTrue ................................................................ Passed 0.02 sec Start 1463: Matrix3DTests.AlmostEqualsWhenFalse 1463/3476 Test #1463: Matrix3DTests.AlmostEqualsWhenFalse ............................................................... Passed 0.02 sec Start 1464: Matrix3DTests.AlmostEqualsWhenFalseReverseDirection 1464/3476 Test #1464: Matrix3DTests.AlmostEqualsWhenFalseReverseDirection ............................................... Passed 0.02 sec Start 1465: Matrix3DTests.AlmostEqualsWithNaNIndexDifferenceIsFalse 1465/3476 Test #1465: Matrix3DTests.AlmostEqualsWithNaNIndexDifferenceIsFalse ........................................... Passed 0.02 sec Start 1466: Matrix3DTests.CheckRowNames 1466/3476 Test #1466: Matrix3DTests.CheckRowNames ....................................................................... Passed 0.02 sec Start 1467: Matrix3DTests.CheckColNames 1467/3476 Test #1467: Matrix3DTests.CheckColNames ....................................................................... Passed 0.02 sec Start 1468: Matrix3DTests.CheckDeleteRow0UsingIndex 1468/3476 Test #1468: Matrix3DTests.CheckDeleteRow0UsingIndex ........................................................... Passed 0.02 sec Start 1469: Matrix3DTests.CheckDeleteRow1UsingIndex 1469/3476 Test #1469: Matrix3DTests.CheckDeleteRow1UsingIndex ........................................................... Passed 0.02 sec Start 1470: Matrix3DTests.CheckDeleteRow2UsingIndex 1470/3476 Test #1470: Matrix3DTests.CheckDeleteRow2UsingIndex ........................................................... Passed 0.02 sec Start 1471: Matrix3DTests.CheckDeleteCol0UsingIndex 1471/3476 Test #1471: Matrix3DTests.CheckDeleteCol0UsingIndex ........................................................... Passed 0.02 sec Start 1472: Matrix3DTests.CheckDeleteCol1UsingIndex 1472/3476 Test #1472: Matrix3DTests.CheckDeleteCol1UsingIndex ........................................................... Passed 0.02 sec Start 1473: Matrix3DTests.CheckDeleteCol2UsingIndex 1473/3476 Test #1473: Matrix3DTests.CheckDeleteCol2UsingIndex ........................................................... Passed 0.02 sec Start 1474: Matrix3DTests.CheckDeleteRow0UsingString 1474/3476 Test #1474: Matrix3DTests.CheckDeleteRow0UsingString .......................................................... Passed 0.02 sec Start 1475: Matrix3DTests.CheckDeleteRow1UsingString 1475/3476 Test #1475: Matrix3DTests.CheckDeleteRow1UsingString .......................................................... Passed 0.01 sec Start 1476: Matrix3DTests.CheckDeleteRow2UsingString 1476/3476 Test #1476: Matrix3DTests.CheckDeleteRow2UsingString .......................................................... Passed 0.01 sec Start 1477: Matrix3DTests.CheckDeleteCol0UsingString 1477/3476 Test #1477: Matrix3DTests.CheckDeleteCol0UsingString .......................................................... Passed 0.02 sec Start 1478: Matrix3DTests.CheckDeleteCol1UsingString 1478/3476 Test #1478: Matrix3DTests.CheckDeleteCol1UsingString .......................................................... Passed 0.02 sec Start 1479: Matrix3DTests.CheckDeleteCol2UsingString 1479/3476 Test #1479: Matrix3DTests.CheckDeleteCol2UsingString .......................................................... Passed 0.02 sec Start 1480: JacobianTests.BimolecularEndFullAmt 1480/3476 Test #1480: JacobianTests.BimolecularEndFullAmt ............................................................... Passed 0.17 sec Start 1481: JacobianTests.BimolecularEndFullConc 1481/3476 Test #1481: JacobianTests.BimolecularEndFullConc .............................................................. Passed 0.17 sec Start 1482: JacobianTests.SimpleFluxFullAmt 1482/3476 Test #1482: JacobianTests.SimpleFluxFullAmt ................................................................... Passed 0.05 sec Start 1483: JacobianTests.SimpleFluxFullConc 1483/3476 Test #1483: JacobianTests.SimpleFluxFullConc .................................................................. Passed 0.05 sec Start 1484: JacobianTests.SimpleFluxReducedAmt 1484/3476 Test #1484: JacobianTests.SimpleFluxReducedAmt ................................................................ Passed 0.08 sec Start 1485: JacobianTests.SimpleFluxReducedConc 1485/3476 Test #1485: JacobianTests.SimpleFluxReducedConc ............................................................... Passed 0.08 sec Start 1486: JacobianTests.FullJacobianRestoresConfigOnPureRateRuleEarlyReturn 1486/3476 Test #1486: JacobianTests.FullJacobianRestoresConfigOnPureRateRuleEarlyReturn ................................. Passed 0.04 sec Start 1487: JacobianTests.FullJacobianRestoresConfigWhenNoReactionsOrRateRules 1487/3476 Test #1487: JacobianTests.FullJacobianRestoresConfigWhenNoReactionsOrRateRules ................................ Passed 0.04 sec Start 1488: JacobianTests.ReducedJacobianRestoresConfigWhenNoIncludedSpecies 1488/3476 Test #1488: JacobianTests.ReducedJacobianRestoresConfigWhenNoIncludedSpecies .................................. Passed 0.04 sec Start 1489: StructuralAnalysisTests.AssignmentRuleChainRateSensitivitySurvivesConversion 1489/3476 Test #1489: StructuralAnalysisTests.AssignmentRuleChainRateSensitivitySurvivesConversion ...................... Passed 0.09 sec Start 1490: StructuralAnalysisTests.RuleGovernedSpeciesTrackDependencyAfterConversion 1490/3476 Test #1490: StructuralAnalysisTests.RuleGovernedSpeciesTrackDependencyAfterConversion ......................... Passed 0.09 sec Start 1491: StructuralAnalysisTests.TeusinkConstantSpeciesAreBoundary 1491/3476 Test #1491: StructuralAnalysisTests.TeusinkConstantSpeciesAreBoundary ......................................... Passed 0.16 sec Start 1492: StructuralAnalysisTests.TeusinkNADCycleIsFound 1492/3476 Test #1492: StructuralAnalysisTests.TeusinkNADCycleIsFound .................................................... Passed 0.17 sec Start 1493: StructuralAnalysisTests.TeusinkSteadyStateConverges 1493/3476 Test #1493: StructuralAnalysisTests.TeusinkSteadyStateConverges ............................................... Passed 0.42 sec Start 1494: StructuralAnalysisTests.TeusinkConservedMoietyConversionSucceeds 1494/3476 Test #1494: StructuralAnalysisTests.TeusinkConservedMoietyConversionSucceeds .................................. Passed 0.29 sec Start 1495: StructuralAnalysisTests.TeusinkPerturbingPAfterConversionUpdatesATP 1495/3476 Test #1495: StructuralAnalysisTests.TeusinkPerturbingPAfterConversionUpdatesATP ............................... Passed 0.29 sec Start 1496: StructuralAnalysisTests.TeusinkATPClassificationAfterConversion 1496/3476 Test #1496: StructuralAnalysisTests.TeusinkATPClassificationAfterConversion ................................... Passed 0.29 sec Start 1497: StructuralAnalysisTests.TeusinkPerturbingPAfterConversionChangesReactionRates 1497/3476 Test #1497: StructuralAnalysisTests.TeusinkPerturbingPAfterConversionChangesReactionRates ..................... Passed 0.29 sec Start 1498: StructuralAnalysisTests.BimolecularEndlinkMatrix 1498/3476 Test #1498: StructuralAnalysisTests.BimolecularEndlinkMatrix .................................................. Passed 0.06 sec Start 1499: StructuralAnalysisTests.BimolecularEndNrMatrix 1499/3476 Test #1499: StructuralAnalysisTests.BimolecularEndNrMatrix .................................................... Passed 0.10 sec Start 1500: StructuralAnalysisTests.BimolecularEndKMatrix 1500/3476 Test #1500: StructuralAnalysisTests.BimolecularEndKMatrix ..................................................... Passed 0.06 sec Start 1501: StructuralAnalysisTests.BimolecularEndreducedStoicMatrix 1501/3476 Test #1501: StructuralAnalysisTests.BimolecularEndreducedStoicMatrix .......................................... Passed 0.10 sec Start 1502: StructuralAnalysisTests.BimolecularEndfullStoicMatrix 1502/3476 Test #1502: StructuralAnalysisTests.BimolecularEndfullStoicMatrix ............................................. Passed 0.10 sec Start 1503: StructuralAnalysisTests.BimolecularEndextendedStoicMatrix 1503/3476 Test #1503: StructuralAnalysisTests.BimolecularEndextendedStoicMatrix ......................................... Passed 0.06 sec Start 1504: StructuralAnalysisTests.SimpleFluxReactantsStoicMatrix 1504/3476 Test #1504: StructuralAnalysisTests.SimpleFluxReactantsStoicMatrix ............................................ Passed 0.08 sec Start 1505: StructuralAnalysisTests.SimpleFluxProductsStoicMatrix 1505/3476 Test #1505: StructuralAnalysisTests.SimpleFluxProductsStoicMatrix ............................................. Passed 0.08 sec Start 1506: StructuralAnalysisTests.OddStoichiometryExtendedStoicMatrix 1506/3476 Test #1506: StructuralAnalysisTests.OddStoichiometryExtendedStoicMatrix ....................................... Passed 0.05 sec Start 1507: StructuralAnalysisTests.OddStoichiometryReactantsStoicMatrix 1507/3476 Test #1507: StructuralAnalysisTests.OddStoichiometryReactantsStoicMatrix ...................................... Passed 0.05 sec Start 1508: StructuralAnalysisTests.OddStoichiometryProductsStoicMatrix 1508/3476 Test #1508: StructuralAnalysisTests.OddStoichiometryProductsStoicMatrix ....................................... Passed 0.05 sec Start 1509: StructuralAnalysisTests.BimolecularEndL0Matrix 1509/3476 Test #1509: StructuralAnalysisTests.BimolecularEndL0Matrix .................................................... Passed 0.06 sec Start 1510: StructuralAnalysisTests.BimolecularEndconservationMatrix 1510/3476 Test #1510: StructuralAnalysisTests.BimolecularEndconservationMatrix .......................................... Passed 0.10 sec Start 1511: Check.Stoic 1511/3476 Test #1511: Check.Stoic ....................................................................................... Passed 0.10 sec Start 1512: MCATests.BimolecularEndUnscaledConcControlMatrix 1512/3476 Test #1512: MCATests.BimolecularEndUnscaledConcControlMatrix .................................................. Passed 0.17 sec Start 1513: MCATests.BimolecularEndScaledConcControlMatrix 1513/3476 Test #1513: MCATests.BimolecularEndScaledConcControlMatrix .................................................... Passed 0.17 sec Start 1514: MCATests.BimolecularEndUnscaledFluxControlMatrix 1514/3476 Test #1514: MCATests.BimolecularEndUnscaledFluxControlMatrix .................................................. Passed 0.17 sec Start 1515: MCATests.BimolecularEndScaledFluxControlMatrix 1515/3476 Test #1515: MCATests.BimolecularEndScaledFluxControlMatrix .................................................... Passed 0.17 sec Start 1516: MCATests.ZeroFluxCC 1516/3476 Test #1516: MCATests.ZeroFluxCC ............................................................................... Passed 1.93 sec Start 1517: MCAMixedRateRuleTests.ConservedMoietyEliminatedSpeciesGetsRealElasticityColumn 1517/3476 Test #1517: MCAMixedRateRuleTests.ConservedMoietyEliminatedSpeciesGetsRealElasticityColumn .................... Passed 0.08 sec Start 1518: MCAMixedRateRuleTests.ChainFullJacobian 1518/3476 Test #1518: MCAMixedRateRuleTests.ChainFullJacobian ........................................................... Passed 0.09 sec Start 1519: MCAMixedRateRuleTests.ChainReducedJacobian 1519/3476 Test #1519: MCAMixedRateRuleTests.ChainReducedJacobian ........................................................ Passed 0.09 sec Start 1520: MCAMixedRateRuleTests.ChainUnscaledConcentrationCC 1520/3476 Test #1520: MCAMixedRateRuleTests.ChainUnscaledConcentrationCC ................................................ Passed 0.25 sec Start 1521: MCAMixedRateRuleTests.ChainScaledConcentrationCC 1521/3476 Test #1521: MCAMixedRateRuleTests.ChainScaledConcentrationCC .................................................. Passed 0.25 sec Start 1522: MCAMixedRateRuleTests.ChainUnscaledFluxCC 1522/3476 Test #1522: MCAMixedRateRuleTests.ChainUnscaledFluxCC ......................................................... Passed 0.25 sec Start 1523: MCAMixedRateRuleTests.ChainScaledFluxCC 1523/3476 Test #1523: MCAMixedRateRuleTests.ChainScaledFluxCC ........................................................... Passed 0.25 sec Start 1524: MCAMixedRateRuleTests.ChainFullEigenvalues 1524/3476 Test #1524: MCAMixedRateRuleTests.ChainFullEigenvalues ........................................................ Passed 0.09 sec Start 1525: MCAMixedRateRuleTests.ChainReducedEigenvalues 1525/3476 Test #1525: MCAMixedRateRuleTests.ChainReducedEigenvalues ..................................................... Passed 0.09 sec Start 1526: MCAMixedRateRuleTests.ChainFrequencyResponse 1526/3476 Test #1526: MCAMixedRateRuleTests.ChainFrequencyResponse ...................................................... Passed 0.25 sec Start 1527: MCAMixedRateRuleTests.OnlyRatesFullJacobian 1527/3476 Test #1527: MCAMixedRateRuleTests.OnlyRatesFullJacobian ....................................................... Passed 0.04 sec Start 1528: MCAMixedRateRuleTests.BoundarySpeciesFullJacobian 1528/3476 Test #1528: MCAMixedRateRuleTests.BoundarySpeciesFullJacobian ................................................. Passed 0.06 sec Start 1529: MCAMixedRateRuleTests.BoundarySpeciesReducedJacobian 1529/3476 Test #1529: MCAMixedRateRuleTests.BoundarySpeciesReducedJacobian .............................................. Passed 0.05 sec Start 1530: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleFullJacobian 1530/3476 Test #1530: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleFullJacobian ..................................... Passed 0.06 sec Start 1531: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleReducedJacobian 1531/3476 Test #1531: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleReducedJacobian .................................. Passed 0.06 sec Start 1532: MCAMixedRateRuleTests.ParameterWithRateRuleFullJacobian 1532/3476 Test #1532: MCAMixedRateRuleTests.ParameterWithRateRuleFullJacobian ........................................... Passed 0.05 sec Start 1533: MCAMixedRateRuleTests.ParameterWithRateRuleReducedJacobian 1533/3476 Test #1533: MCAMixedRateRuleTests.ParameterWithRateRuleReducedJacobian ........................................ Passed 0.05 sec Start 1534: MCAMixedRateRuleTests.BoundarySpeciesVsBoundarySpeciesWithRateRuleCrossCheck 1534/3476 Test #1534: MCAMixedRateRuleTests.BoundarySpeciesVsBoundarySpeciesWithRateRuleCrossCheck ...................... Passed 0.09 sec Start 1535: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleVsParameterWithRateRuleCrossCheck 1535/3476 Test #1535: MCAMixedRateRuleTests.BoundarySpeciesWithRateRuleVsParameterWithRateRuleCrossCheck ................ Passed 0.09 sec Start 1536: MCAMixedRateRuleTests.RateRuleSpeciesCanBeSetDirectly 1536/3476 Test #1536: MCAMixedRateRuleTests.RateRuleSpeciesCanBeSetDirectly ............................................. Passed 0.06 sec Start 1537: MCAMixedRateRuleTests.AssignmentRuleSpeciesDoesNotCorruptElasticityRestore 1537/3476 Test #1537: MCAMixedRateRuleTests.AssignmentRuleSpeciesDoesNotCorruptElasticityRestore ........................ Passed 0.05 sec Start 1538: MCAMixedRateRuleTests.SteadyStateConvergesBoundaryRateRuleSpecies 1538/3476 Test #1538: MCAMixedRateRuleTests.SteadyStateConvergesBoundaryRateRuleSpecies ................................. Passed 0.16 sec Start 1539: MCAMixedRateRuleTests.TwoRateRulesFullJacobian 1539/3476 Test #1539: MCAMixedRateRuleTests.TwoRateRulesFullJacobian .................................................... Passed 0.10 sec Start 1540: MCAMixedRateRuleTests.TwoRateRulesReducedJacobian 1540/3476 Test #1540: MCAMixedRateRuleTests.TwoRateRulesReducedJacobian ................................................. Passed 0.10 sec Start 1541: MCAMixedRateRuleTests.TwoRateRulesUnscaledElasticityMatrix 1541/3476 Test #1541: MCAMixedRateRuleTests.TwoRateRulesUnscaledElasticityMatrix ........................................ Passed 0.10 sec Start 1542: MCAMixedRateRuleTests.TwoRateRulesScaledElasticityMatrix 1542/3476 Test #1542: MCAMixedRateRuleTests.TwoRateRulesScaledElasticityMatrix .......................................... Passed 0.10 sec Start 1543: MCAMixedRateRuleTests.TwoRateRulesUnscaledConcentrationCC 1543/3476 Test #1543: MCAMixedRateRuleTests.TwoRateRulesUnscaledConcentrationCC ......................................... Passed 0.29 sec Start 1544: MCAMixedRateRuleTests.TwoRateRulesScaledConcentrationCC 1544/3476 Test #1544: MCAMixedRateRuleTests.TwoRateRulesScaledConcentrationCC ........................................... Passed 0.29 sec Start 1545: MCAMixedRateRuleTests.TwoRateRulesUnscaledFluxCC 1545/3476 Test #1545: MCAMixedRateRuleTests.TwoRateRulesUnscaledFluxCC .................................................. Passed 0.29 sec Start 1546: MCAMixedRateRuleTests.TwoRateRulesScaledFluxCC 1546/3476 Test #1546: MCAMixedRateRuleTests.TwoRateRulesScaledFluxCC .................................................... Passed 0.29 sec Start 1547: MCAMixedRateRuleTests.TwoRateRulesFullEigenvalues 1547/3476 Test #1547: MCAMixedRateRuleTests.TwoRateRulesFullEigenvalues ................................................. Passed 0.10 sec Start 1548: MCAMixedRateRuleTests.TwoRateRulesReducedEigenvalues 1548/3476 Test #1548: MCAMixedRateRuleTests.TwoRateRulesReducedEigenvalues .............................................. Passed 0.10 sec Start 1549: MCAMixedRateRuleTests.AssignmentRuleModifierPicksUpIndirectChainRule 1549/3476 Test #1549: MCAMixedRateRuleTests.AssignmentRuleModifierPicksUpIndirectChainRule .............................. Passed 0.05 sec Start 1550: MCAMixedRateRuleTests.CoupledRateRulesFullJacobian 1550/3476 Test #1550: MCAMixedRateRuleTests.CoupledRateRulesFullJacobian ................................................ Passed 0.09 sec Start 1551: MCAMixedRateRuleTests.CoupledRateRulesReducedJacobian 1551/3476 Test #1551: MCAMixedRateRuleTests.CoupledRateRulesReducedJacobian ............................................. Passed 0.09 sec Start 1552: MCAMixedRateRuleTests.CoupledRateRulesUnscaledElasticityMatrix 1552/3476 Test #1552: MCAMixedRateRuleTests.CoupledRateRulesUnscaledElasticityMatrix .................................... Passed 0.09 sec Start 1553: MCAMixedRateRuleTests.CoupledRateRulesScaledElasticityMatrix 1553/3476 Test #1553: MCAMixedRateRuleTests.CoupledRateRulesScaledElasticityMatrix ...................................... Passed 0.09 sec Start 1554: MCAMixedRateRuleTests.CoupledRateRulesUnscaledConcentrationCC 1554/3476 Test #1554: MCAMixedRateRuleTests.CoupledRateRulesUnscaledConcentrationCC ..................................... Passed 0.26 sec Start 1555: MCAMixedRateRuleTests.CoupledRateRulesScaledConcentrationCC 1555/3476 Test #1555: MCAMixedRateRuleTests.CoupledRateRulesScaledConcentrationCC ....................................... Passed 0.26 sec Start 1556: MCAMixedRateRuleTests.CoupledRateRulesUnscaledFluxCC 1556/3476 Test #1556: MCAMixedRateRuleTests.CoupledRateRulesUnscaledFluxCC .............................................. Passed 0.26 sec Start 1557: MCAMixedRateRuleTests.CoupledRateRulesScaledFluxCC 1557/3476 Test #1557: MCAMixedRateRuleTests.CoupledRateRulesScaledFluxCC ................................................ Passed 0.26 sec Start 1558: MCAMixedRateRuleTests.CoupledRateRulesFullEigenvalues 1558/3476 Test #1558: MCAMixedRateRuleTests.CoupledRateRulesFullEigenvalues ............................................. Passed 0.09 sec Start 1559: MCAMixedRateRuleTests.CoupledRateRulesReducedEigenvalues 1559/3476 Test #1559: MCAMixedRateRuleTests.CoupledRateRulesReducedEigenvalues .......................................... Passed 0.09 sec Start 1560: MCAMixedRateRuleTests.ScaledFloatingSpeciesElasticitySmokeTest 1560/3476 Test #1560: MCAMixedRateRuleTests.ScaledFloatingSpeciesElasticitySmokeTest .................................... Passed 0.05 sec Start 1561: MCAMixedRateRuleTests.UnscaledParameterElasticitySmokeTest 1561/3476 Test #1561: MCAMixedRateRuleTests.UnscaledParameterElasticitySmokeTest ........................................ Passed 0.05 sec Start 1562: MCAMixedRateRuleTests.FullStoichiometryMatrixSmokeTest 1562/3476 Test #1562: MCAMixedRateRuleTests.FullStoichiometryMatrixSmokeTest ............................................ Passed 0.05 sec Start 1563: MCAMixedRateRuleTests.LinkMatrixSmokeTest 1563/3476 Test #1563: MCAMixedRateRuleTests.LinkMatrixSmokeTest ......................................................... Passed 0.06 sec Start 1564: MCAMixedRateRuleTests.NrMatrixSmokeTest 1564/3476 Test #1564: MCAMixedRateRuleTests.NrMatrixSmokeTest ........................................................... Passed 0.05 sec Start 1565: MCAMixedRateRuleTests.KMatrixSmokeTest 1565/3476 Test #1565: MCAMixedRateRuleTests.KMatrixSmokeTest ............................................................ Passed 0.05 sec Start 1566: MCAMixedRateRuleTests.L0MatrixSmokeTest 1566/3476 Test #1566: MCAMixedRateRuleTests.L0MatrixSmokeTest ........................................................... Passed 0.05 sec Start 1567: MCAMixedRateRuleTests.SubStoichiometryMatrixSmokeTest 1567/3476 Test #1567: MCAMixedRateRuleTests.SubStoichiometryMatrixSmokeTest ............................................. Passed 0.05 sec Start 1568: RoadRunnerMapTests.getKeys 1568/3476 Test #1568: RoadRunnerMapTests.getKeys ........................................................................ Passed 0.16 sec Start 1569: RoadRunnerMapTests.size 1569/3476 Test #1569: RoadRunnerMapTests.size ........................................................................... Passed 0.07 sec Start 1570: RoadRunnerMapTests.InsertUniquePtrToRRModel_Size 1570/3476 Test #1570: RoadRunnerMapTests.InsertUniquePtrToRRModel_Size .................................................. Passed 0.09 sec Start 1571: RoadRunnerMapTests.InsertUniquePtrToRRModel_CustomKey 1571/3476 Test #1571: RoadRunnerMapTests.InsertUniquePtrToRRModel_CustomKey ............................................. Passed 0.08 sec Start 1572: RoadRunnerMapTests.InsertRRModelFromSBMLFile 1572/3476 Test #1572: RoadRunnerMapTests.InsertRRModelFromSBMLFile ...................................................... Passed 0.09 sec Start 1573: RoadRunnerMapTests.InsertRRModelFromSBMLFile_WithCustomKey 1573/3476 Test #1573: RoadRunnerMapTests.InsertRRModelFromSBMLFile_WithCustomKey ........................................ Passed 0.08 sec Start 1574: RoadRunnerMapTests.InsertFromVectorOfsbmlStrings_Size 1574/3476 Test #1574: RoadRunnerMapTests.InsertFromVectorOfsbmlStrings_Size ............................................. Passed 0.08 sec Start 1575: RoadRunnerMapTests.InsertFromVectorOfsbmlStrings_Keys 1575/3476 Test #1575: RoadRunnerMapTests.InsertFromVectorOfsbmlStrings_Keys ............................................. Passed 0.12 sec Start 1576: RoadRunnerMapTests.Remove_Size 1576/3476 Test #1576: RoadRunnerMapTests.Remove_Size .................................................................... Passed 0.07 sec Start 1577: RoadRunnerMapTests.Remove_CorrectModelRemoved 1577/3476 Test #1577: RoadRunnerMapTests.Remove_CorrectModelRemoved ..................................................... Passed 0.07 sec Start 1578: RoadRunnerMapTests.RangeBasedLoop 1578/3476 Test #1578: RoadRunnerMapTests.RangeBasedLoop ................................................................. Passed 0.05 sec Start 1579: RoadRunnerMapTests.IteratorBasedLoop 1579/3476 Test #1579: RoadRunnerMapTests.IteratorBasedLoop .............................................................. Passed 0.05 sec Start 1580: RoadRunnerMapTests.EmptyWhenTrue 1580/3476 Test #1580: RoadRunnerMapTests.EmptyWhenTrue .................................................................. Passed 0.02 sec Start 1581: RoadRunnerMapTests.EmptyWhenFalse 1581/3476 Test #1581: RoadRunnerMapTests.EmptyWhenFalse ................................................................. Passed 0.05 sec Start 1582: RoadRunnerMapTests.Clear 1582/3476 Test #1582: RoadRunnerMapTests.Clear .......................................................................... Passed 0.05 sec Start 1583: RoadRunnerMapTests.GetterOperator_CheckThatWeGetBorrowedReference 1583/3476 Test #1583: RoadRunnerMapTests.GetterOperator_CheckThatWeGetBorrowedReference ................................. Passed 0.05 sec Start 1584: RoadRunnerMapTests.Find_WhenKeyIsInMap 1584/3476 Test #1584: RoadRunnerMapTests.Find_WhenKeyIsInMap ............................................................ Passed 0.04 sec Start 1585: RoadRunnerMapTests.Find_WhenKeyIsNotInMap 1585/3476 Test #1585: RoadRunnerMapTests.Find_WhenKeyIsNotInMap ......................................................... Passed 0.05 sec Start 1586: RoadRunnerMapTests.CountWhenTrue 1586/3476 Test #1586: RoadRunnerMapTests.CountWhenTrue .................................................................. Passed 0.05 sec Start 1587: RoadRunnerMapTests.CountWhenFalse 1587/3476 Test #1587: RoadRunnerMapTests.CountWhenFalse ................................................................. Passed 0.05 sec Start 1588: RoadRunnerMapTests.Request0Threads 1588/3476 Test #1588: RoadRunnerMapTests.Request0Threads ................................................................ Passed 0.02 sec Start 1589: StateSavingTests.LOAD_INVALID_FILE 1589/3476 Test #1589: StateSavingTests.LOAD_INVALID_FILE ................................................................ Passed 0.02 sec Start 1590: StateSavingTests.FromFile 1590/3476 Test #1590: StateSavingTests.FromFile ......................................................................... Passed 0.05 sec Start 1591: StateSavingTests.LOAD_NONEXISTENT_FILE 1591/3476 Test #1591: StateSavingTests.LOAD_NONEXISTENT_FILE ............................................................ Passed 0.02 sec Start 1592: StateSavingTests.COPY_RR 1592/3476 Test #1592: StateSavingTests.COPY_RR .......................................................................... Passed 0.02 sec Start 1593: StateSavingTests.COPY_RR_WITH_ASSIGNMENT 1593/3476 Test #1593: StateSavingTests.COPY_RR_WITH_ASSIGNMENT .......................................................... Passed 0.05 sec Start 1594: StateSavingTests.COPY_RR_TWICE 1594/3476 Test #1594: StateSavingTests.COPY_RR_TWICE .................................................................... Passed 0.02 sec Start 1595: StateSavingTests.CopyModelLoadedConstructor 1595/3476 Test #1595: StateSavingTests.CopyModelLoadedConstructor ....................................................... Passed 0.05 sec Start 1596: StateSavingTests.CopyModelLoadedAssignment 1596/3476 Test #1596: StateSavingTests.CopyModelLoadedAssignment ........................................................ Passed 0.05 sec Start 1597: StateSavingTests.CopyModelTwiceModelLoadedConstructor 1597/3476 Test #1597: StateSavingTests.CopyModelTwiceModelLoadedConstructor ............................................. Passed 0.05 sec Start 1598: StateSavingTests.CopyModelTwiceModelLoadedAssignment 1598/3476 Test #1598: StateSavingTests.CopyModelTwiceModelLoadedAssignment .............................................. Passed 0.05 sec Start 1599: StateSavingTests.CopyModelAndCopyBackMCJit 1599/3476 Test #1599: StateSavingTests.CopyModelAndCopyBackMCJit ........................................................ Passed 0.05 sec Start 1600: StateSavingTests.CopyModelAndCopyBackLLJit 1600/3476 Test #1600: StateSavingTests.CopyModelAndCopyBackLLJit ........................................................ Passed 0.03 sec Start 1601: StateSavingTests.COPY_RR_TWICE2 1601/3476 Test #1601: StateSavingTests.COPY_RR_TWICE2 ................................................................... Passed 0.02 sec Start 1602: StateSavingTests.SaveThenLoad 1602/3476 Test #1602: StateSavingTests.SaveThenLoad ..................................................................... Passed 0.08 sec Start 1603: StateSavingTests.SaveThenLoadTwice 1603/3476 Test #1603: StateSavingTests.SaveThenLoadTwice ................................................................ Passed 0.08 sec Start 1604: StateSavingTests.SaveThenLoadWithADifferentModel 1604/3476 Test #1604: StateSavingTests.SaveThenLoadWithADifferentModel .................................................. Passed 0.08 sec Start 1605: StateSavingTests.SaveThenLoadWithADiffentModelTwice 1605/3476 Test #1605: StateSavingTests.SaveThenLoadWithADiffentModelTwice ............................................... Passed 0.08 sec Start 1606: StateSavingTests.SimulateThenSaveLoadThenReset 1606/3476 Test #1606: StateSavingTests.SimulateThenSaveLoadThenReset .................................................... Passed 0.08 sec Start 1607: StateSavingTests.SimulateThenSaveLoadThenResetWithDifferentModel 1607/3476 Test #1607: StateSavingTests.SimulateThenSaveLoadThenResetWithDifferentModel .................................. Passed 0.08 sec Start 1608: StateSavingTests.SaveThenLoadCase1120 1608/3476 Test #1608: StateSavingTests.SaveThenLoadCase1120 ............................................................. Passed 0.07 sec Start 1609: StateSavingTests.SaveThenLoadTwiceCase1120 1609/3476 Test #1609: StateSavingTests.SaveThenLoadTwiceCase1120 ........................................................ Passed 0.07 sec Start 1610: StateSavingTests.SaveThenLoadAndSimulateCase1120 1610/3476 Test #1610: StateSavingTests.SaveThenLoadAndSimulateCase1120 .................................................. Passed 0.07 sec Start 1611: StateSavingTests.SAVE_STATE_19 1611/3476 Test #1611: StateSavingTests.SAVE_STATE_19 .................................................................... Passed 0.07 sec Start 1612: StateSavingTests.SAVE_STATE_20 1612/3476 Test #1612: StateSavingTests.SAVE_STATE_20 .................................................................... Passed 0.09 sec Start 1613: StateSavingTests.RETAIN_ABSOLUTE_TOLERANCES_1 1613/3476 Test #1613: StateSavingTests.RETAIN_ABSOLUTE_TOLERANCES_1 ..................................................... Passed 0.05 sec Start 1614: StateSavingTests.FROM_SCRATCH_1 1614/3476 Test #1614: StateSavingTests.FROM_SCRATCH_1 ................................................................... Passed 0.13 sec Start 1615: StateSavingTests.FROM_SCRATCH_2 1615/3476 Test #1615: StateSavingTests.FROM_SCRATCH_2 ................................................................... Passed 0.22 sec Start 1616: StateSavingTests.FROM_SCRATCH_3 1616/3476 Test #1616: StateSavingTests.FROM_SCRATCH_3 ................................................................... Passed 0.08 sec Start 1617: StateSavingTests.FROM_SCRATCH_4 1617/3476 Test #1617: StateSavingTests.FROM_SCRATCH_4 ................................................................... Passed 0.10 sec Start 1618: StateSavingTests.FROM_SCRATCH_5 1618/3476 Test #1618: StateSavingTests.FROM_SCRATCH_5 ................................................................... Passed 0.22 sec Start 1619: StateSavingTests.FROM_SCRATCH_6 1619/3476 Test #1619: StateSavingTests.FROM_SCRATCH_6 ................................................................... Passed 0.21 sec Start 1620: StateSavingTests.FROM_SCRATCH_7 1620/3476 Test #1620: StateSavingTests.FROM_SCRATCH_7 ................................................................... Passed 0.13 sec Start 1621: StateSavingTests.FROM_SCRATCH_8 1621/3476 Test #1621: StateSavingTests.FROM_SCRATCH_8 ................................................................... Passed 0.21 sec Start 1622: StateSavingTests.FROM_SCRATCH_9 1622/3476 Test #1622: StateSavingTests.FROM_SCRATCH_9 ................................................................... Passed 0.08 sec Start 1623: StateSavingTests.LOAD_ON_NEW_INSTANCE 1623/3476 Test #1623: StateSavingTests.LOAD_ON_NEW_INSTANCE ............................................................. Passed 0.05 sec Start 1624: StateSavingTests.FromString 1624/3476 Test #1624: StateSavingTests.FromString ....................................................................... Passed 0.05 sec Start 1625: StateSavingTestsBrown2004MCJit.Brown2004NumBoundarySpecies 1625/3476 Test #1625: StateSavingTestsBrown2004MCJit.Brown2004NumBoundarySpecies ........................................ Passed 0.13 sec Start 1626: StateSavingTestsBrown2004MCJit.Brown2004CompareNumBoundarySpecies 1626/3476 Test #1626: StateSavingTestsBrown2004MCJit.Brown2004CompareNumBoundarySpecies ................................. Passed 0.13 sec Start 1627: StateSavingTestsBrown2004MCJit.Brown2004CompareNumCompartments 1627/3476 Test #1627: StateSavingTestsBrown2004MCJit.Brown2004CompareNumCompartments .................................... Passed 0.13 sec Start 1628: StateSavingTestsBrown2004MCJit.Brown2004CompareNumDependentSpecies 1628/3476 Test #1628: StateSavingTestsBrown2004MCJit.Brown2004CompareNumDependentSpecies ................................ Passed 0.14 sec Start 1629: StateSavingTestsBrown2004MCJit.Brown2004CompareNumFloatingSpecies 1629/3476 Test #1629: StateSavingTestsBrown2004MCJit.Brown2004CompareNumFloatingSpecies ................................. Passed 0.13 sec Start 1630: StateSavingTestsBrown2004MCJit.Brown2004CompareNumGlobalParameters 1630/3476 Test #1630: StateSavingTestsBrown2004MCJit.Brown2004CompareNumGlobalParameters ................................ Passed 0.13 sec Start 1631: StateSavingTestsBrown2004MCJit.Brown2004CompareNumIndependentSpecies 1631/3476 Test #1631: StateSavingTestsBrown2004MCJit.Brown2004CompareNumIndependentSpecies .............................. Passed 0.14 sec Start 1632: StateSavingTestsBrown2004MCJit.Brown2004CompareNumOfReactions 1632/3476 Test #1632: StateSavingTestsBrown2004MCJit.Brown2004CompareNumOfReactions ..................................... Passed 0.13 sec Start 1633: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesBoundarySpecies 1633/3476 Test #1633: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesBoundarySpecies .............................. Passed 0.14 sec Start 1634: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesCompartments 1634/3476 Test #1634: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesCompartments ................................. Passed 0.13 sec Start 1635: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesFloatingSpecies 1635/3476 Test #1635: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesFloatingSpecies .............................. Passed 0.14 sec Start 1636: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesGlobalParameters 1636/3476 Test #1636: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesGlobalParameters ............................. Passed 0.13 sec Start 1637: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesReactionRates 1637/3476 Test #1637: StateSavingTestsBrown2004MCJit.Brown2004CompareValuesReactionRates ................................ Passed 0.13 sec Start 1638: StateSavingTestsBrown2004MCJit.Brown2004CompareSimulationOutput 1638/3476 Test #1638: StateSavingTestsBrown2004MCJit.Brown2004CompareSimulationOutput ................................... Passed 0.13 sec Start 1639: StateSavingTestsBrown2004LLJit.Brown2004NumBoundarySpecies 1639/3476 Test #1639: StateSavingTestsBrown2004LLJit.Brown2004NumBoundarySpecies ........................................ Passed 0.06 sec Start 1640: StateSavingTestsBrown2004LLJit.Brown2004CompareNumBoundarySpecies 1640/3476 Test #1640: StateSavingTestsBrown2004LLJit.Brown2004CompareNumBoundarySpecies ................................. Passed 0.07 sec Start 1641: StateSavingTestsBrown2004LLJit.Brown2004CompareNumCompartments 1641/3476 Test #1641: StateSavingTestsBrown2004LLJit.Brown2004CompareNumCompartments .................................... Passed 0.06 sec Start 1642: StateSavingTestsBrown2004LLJit.Brown2004CompareNumDependentSpecies 1642/3476 Test #1642: StateSavingTestsBrown2004LLJit.Brown2004CompareNumDependentSpecies ................................ Passed 0.07 sec Start 1643: StateSavingTestsBrown2004LLJit.Brown2004CompareNumFloatingSpecies 1643/3476 Test #1643: StateSavingTestsBrown2004LLJit.Brown2004CompareNumFloatingSpecies ................................. Passed 0.07 sec Start 1644: StateSavingTestsBrown2004LLJit.Brown2004CompareNumGlobalParameters 1644/3476 Test #1644: StateSavingTestsBrown2004LLJit.Brown2004CompareNumGlobalParameters ................................ Passed 0.07 sec Start 1645: StateSavingTestsBrown2004LLJit.Brown2004CompareNumIndependentSpecies 1645/3476 Test #1645: StateSavingTestsBrown2004LLJit.Brown2004CompareNumIndependentSpecies .............................. Passed 0.07 sec Start 1646: StateSavingTestsBrown2004LLJit.Brown2004CompareNumOfReactions 1646/3476 Test #1646: StateSavingTestsBrown2004LLJit.Brown2004CompareNumOfReactions ..................................... Passed 0.06 sec Start 1647: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesBoundarySpecies 1647/3476 Test #1647: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesBoundarySpecies .............................. Passed 0.07 sec Start 1648: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesCompartments 1648/3476 Test #1648: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesCompartments ................................. Passed 0.06 sec Start 1649: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesFloatingSpecies 1649/3476 Test #1649: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesFloatingSpecies .............................. Passed 0.07 sec Start 1650: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesGlobalParameters 1650/3476 Test #1650: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesGlobalParameters ............................. Passed 0.07 sec Start 1651: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesReactionRates 1651/3476 Test #1651: StateSavingTestsBrown2004LLJit.Brown2004CompareValuesReactionRates ................................ Passed 0.06 sec Start 1652: StateSavingTestsBrown2004LLJit.Brown2004CompareSimulationOutput 1652/3476 Test #1652: StateSavingTestsBrown2004LLJit.Brown2004CompareSimulationOutput ................................... Passed 0.06 sec Start 1653: SbmlTestSuite.test_single 1653/3476 Test #1653: SbmlTestSuite.test_single ......................................................................... Passed 0.05 sec Start 1654: SbmlTestSuite.t1 1654/3476 Test #1654: SbmlTestSuite.t1 .................................................................................. Passed 0.08 sec Start 1655: SbmlTestSuite.t2 1655/3476 Test #1655: SbmlTestSuite.t2 .................................................................................. Passed 0.08 sec Start 1656: SbmlTestSuite.t3 1656/3476 Test #1656: SbmlTestSuite.t3 .................................................................................. Passed 0.08 sec Start 1657: SbmlTestSuite.t4 1657/3476 Test #1657: SbmlTestSuite.t4 .................................................................................. Passed 0.08 sec Start 1658: SbmlTestSuite.t5 1658/3476 Test #1658: SbmlTestSuite.t5 .................................................................................. Passed 0.08 sec Start 1659: SbmlTestSuite.t6 1659/3476 Test #1659: SbmlTestSuite.t6 .................................................................................. Passed 0.08 sec Start 1660: SbmlTestSuite.t7 1660/3476 Test #1660: SbmlTestSuite.t7 .................................................................................. Passed 0.08 sec Start 1661: SbmlTestSuite.t8 1661/3476 Test #1661: SbmlTestSuite.t8 .................................................................................. Passed 0.08 sec Start 1662: SbmlTestSuite.t9 1662/3476 Test #1662: SbmlTestSuite.t9 .................................................................................. Passed 0.08 sec Start 1663: SbmlTestSuite.t10 1663/3476 Test #1663: SbmlTestSuite.t10 ................................................................................. Passed 0.09 sec Start 1664: SbmlTestSuite.t11 1664/3476 Test #1664: SbmlTestSuite.t11 ................................................................................. Passed 0.09 sec Start 1665: SbmlTestSuite.t12 1665/3476 Test #1665: SbmlTestSuite.t12 ................................................................................. Passed 0.09 sec Start 1666: SbmlTestSuite.t13 1666/3476 Test #1666: SbmlTestSuite.t13 ................................................................................. Passed 0.08 sec Start 1667: SbmlTestSuite.t14 1667/3476 Test #1667: SbmlTestSuite.t14 ................................................................................. Passed 0.09 sec Start 1668: SbmlTestSuite.t15 1668/3476 Test #1668: SbmlTestSuite.t15 ................................................................................. Passed 0.09 sec Start 1669: SbmlTestSuite.t16 1669/3476 Test #1669: SbmlTestSuite.t16 ................................................................................. Passed 0.09 sec Start 1670: SbmlTestSuite.t17 1670/3476 Test #1670: SbmlTestSuite.t17 ................................................................................. Passed 0.09 sec Start 1671: SbmlTestSuite.t18 1671/3476 Test #1671: SbmlTestSuite.t18 ................................................................................. Passed 0.09 sec Start 1672: SbmlTestSuite.t19 1672/3476 Test #1672: SbmlTestSuite.t19 ................................................................................. Passed 0.09 sec Start 1673: SbmlTestSuite.t20 1673/3476 Test #1673: SbmlTestSuite.t20 ................................................................................. Passed 0.09 sec Start 1674: SbmlTestSuite.t21 1674/3476 Test #1674: SbmlTestSuite.t21 ................................................................................. Passed 0.08 sec Start 1675: SbmlTestSuite.t22 1675/3476 Test #1675: SbmlTestSuite.t22 ................................................................................. Passed 0.08 sec Start 1676: SbmlTestSuite.t23 1676/3476 Test #1676: SbmlTestSuite.t23 ................................................................................. Passed 0.10 sec Start 1677: SbmlTestSuite.t24 1677/3476 Test #1677: SbmlTestSuite.t24 ................................................................................. Passed 0.10 sec Start 1678: SbmlTestSuite.t25 1678/3476 Test #1678: SbmlTestSuite.t25 ................................................................................. Passed 0.08 sec Start 1679: SbmlTestSuite.t26 1679/3476 Test #1679: SbmlTestSuite.t26 ................................................................................. Passed 0.09 sec Start 1680: SbmlTestSuite.t27 1680/3476 Test #1680: SbmlTestSuite.t27 ................................................................................. Passed 0.07 sec Start 1681: SbmlTestSuite.t28 1681/3476 Test #1681: SbmlTestSuite.t28 ................................................................................. Passed 0.08 sec Start 1682: SbmlTestSuite.t29 1682/3476 Test #1682: SbmlTestSuite.t29 ................................................................................. Passed 0.06 sec Start 1683: SbmlTestSuite.t30 1683/3476 Test #1683: SbmlTestSuite.t30 ................................................................................. Passed 0.06 sec Start 1684: SbmlTestSuite.t31 1684/3476 Test #1684: SbmlTestSuite.t31 ................................................................................. Passed 0.07 sec Start 1685: SbmlTestSuite.t32 1685/3476 Test #1685: SbmlTestSuite.t32 ................................................................................. Passed 0.08 sec Start 1686: SbmlTestSuite.t33 1686/3476 Test #1686: SbmlTestSuite.t33 ................................................................................. Passed 0.08 sec Start 1687: SbmlTestSuite.t34 1687/3476 Test #1687: SbmlTestSuite.t34 ................................................................................. Passed 0.09 sec Start 1688: SbmlTestSuite.t35 1688/3476 Test #1688: SbmlTestSuite.t35 ................................................................................. Passed 0.09 sec Start 1689: SbmlTestSuite.t36 1689/3476 Test #1689: SbmlTestSuite.t36 ................................................................................. Passed 0.08 sec Start 1690: SbmlTestSuite.t37 1690/3476 Test #1690: SbmlTestSuite.t37 ................................................................................. Passed 0.08 sec Start 1691: SbmlTestSuite.t38 1691/3476 Test #1691: SbmlTestSuite.t38 ................................................................................. Passed 0.08 sec Start 1692: SbmlTestSuite.t39 1692/3476 Test #1692: SbmlTestSuite.t39 ................................................................................. Passed 0.02 sec Start 1693: SbmlTestSuite.t40 1693/3476 Test #1693: SbmlTestSuite.t40 ................................................................................. Passed 0.02 sec Start 1694: SbmlTestSuite.t41 1694/3476 Test #1694: SbmlTestSuite.t41 ................................................................................. Passed 0.09 sec Start 1695: SbmlTestSuite.t42 1695/3476 Test #1695: SbmlTestSuite.t42 ................................................................................. Passed 0.08 sec Start 1696: SbmlTestSuite.t43 1696/3476 Test #1696: SbmlTestSuite.t43 ................................................................................. Passed 0.09 sec Start 1697: SbmlTestSuite.t44 1697/3476 Test #1697: SbmlTestSuite.t44 ................................................................................. Passed 0.09 sec Start 1698: SbmlTestSuite.t45 1698/3476 Test #1698: SbmlTestSuite.t45 ................................................................................. Passed 0.08 sec Start 1699: SbmlTestSuite.t46 1699/3476 Test #1699: SbmlTestSuite.t46 ................................................................................. Passed 0.09 sec Start 1700: SbmlTestSuite.t47 1700/3476 Test #1700: SbmlTestSuite.t47 ................................................................................. Passed 0.09 sec Start 1701: SbmlTestSuite.t48 1701/3476 Test #1701: SbmlTestSuite.t48 ................................................................................. Passed 0.08 sec Start 1702: SbmlTestSuite.t49 1702/3476 Test #1702: SbmlTestSuite.t49 ................................................................................. Passed 0.09 sec Start 1703: SbmlTestSuite.t50 1703/3476 Test #1703: SbmlTestSuite.t50 ................................................................................. Passed 0.09 sec Start 1704: SbmlTestSuite.t51 1704/3476 Test #1704: SbmlTestSuite.t51 ................................................................................. Passed 0.08 sec Start 1705: SbmlTestSuite.t52 1705/3476 Test #1705: SbmlTestSuite.t52 ................................................................................. Passed 0.09 sec Start 1706: SbmlTestSuite.t53 1706/3476 Test #1706: SbmlTestSuite.t53 ................................................................................. Passed 0.09 sec Start 1707: SbmlTestSuite.t54 1707/3476 Test #1707: SbmlTestSuite.t54 ................................................................................. Passed 0.09 sec Start 1708: SbmlTestSuite.t55 1708/3476 Test #1708: SbmlTestSuite.t55 ................................................................................. Passed 0.09 sec Start 1709: SbmlTestSuite.t56 1709/3476 Test #1709: SbmlTestSuite.t56 ................................................................................. Passed 0.08 sec Start 1710: SbmlTestSuite.t57 1710/3476 Test #1710: SbmlTestSuite.t57 ................................................................................. Passed 0.08 sec Start 1711: SbmlTestSuite.t58 1711/3476 Test #1711: SbmlTestSuite.t58 ................................................................................. Passed 0.08 sec Start 1712: SbmlTestSuite.t59 1712/3476 Test #1712: SbmlTestSuite.t59 ................................................................................. Passed 0.08 sec Start 1713: SbmlTestSuite.t60 1713/3476 Test #1713: SbmlTestSuite.t60 ................................................................................. Passed 0.08 sec Start 1714: SbmlTestSuite.t61 1714/3476 Test #1714: SbmlTestSuite.t61 ................................................................................. Passed 0.08 sec Start 1715: SbmlTestSuite.t62 1715/3476 Test #1715: SbmlTestSuite.t62 ................................................................................. Passed 0.09 sec Start 1716: SbmlTestSuite.t63 1716/3476 Test #1716: SbmlTestSuite.t63 ................................................................................. Passed 0.09 sec Start 1717: SbmlTestSuite.t64 1717/3476 Test #1717: SbmlTestSuite.t64 ................................................................................. Passed 0.10 sec Start 1718: SbmlTestSuite.t65 1718/3476 Test #1718: SbmlTestSuite.t65 ................................................................................. Passed 0.10 sec Start 1719: SbmlTestSuite.t66 1719/3476 Test #1719: SbmlTestSuite.t66 ................................................................................. Passed 0.09 sec Start 1720: SbmlTestSuite.t67 1720/3476 Test #1720: SbmlTestSuite.t67 ................................................................................. Passed 0.09 sec Start 1721: SbmlTestSuite.t68 1721/3476 Test #1721: SbmlTestSuite.t68 ................................................................................. Passed 0.08 sec Start 1722: SbmlTestSuite.t69 1722/3476 Test #1722: SbmlTestSuite.t69 ................................................................................. Passed 0.09 sec Start 1723: SbmlTestSuite.t70 1723/3476 Test #1723: SbmlTestSuite.t70 ................................................................................. Passed 0.09 sec Start 1724: SbmlTestSuite.t71 1724/3476 Test #1724: SbmlTestSuite.t71 ................................................................................. Passed 0.08 sec Start 1725: SbmlTestSuite.t72 1725/3476 Test #1725: SbmlTestSuite.t72 ................................................................................. Passed 0.09 sec Start 1726: SbmlTestSuite.t73 1726/3476 Test #1726: SbmlTestSuite.t73 ................................................................................. Passed 0.08 sec Start 1727: SbmlTestSuite.t74 1727/3476 Test #1727: SbmlTestSuite.t74 ................................................................................. Passed 0.08 sec Start 1728: SbmlTestSuite.t75 1728/3476 Test #1728: SbmlTestSuite.t75 ................................................................................. Passed 0.08 sec Start 1729: SbmlTestSuite.t76 1729/3476 Test #1729: SbmlTestSuite.t76 ................................................................................. Passed 0.08 sec Start 1730: SbmlTestSuite.t77 1730/3476 Test #1730: SbmlTestSuite.t77 ................................................................................. Passed 0.09 sec Start 1731: SbmlTestSuite.t78 1731/3476 Test #1731: SbmlTestSuite.t78 ................................................................................. Passed 0.08 sec Start 1732: SbmlTestSuite.t79 1732/3476 Test #1732: SbmlTestSuite.t79 ................................................................................. Passed 0.09 sec Start 1733: SbmlTestSuite.t80 1733/3476 Test #1733: SbmlTestSuite.t80 ................................................................................. Passed 0.10 sec Start 1734: SbmlTestSuite.t81 1734/3476 Test #1734: SbmlTestSuite.t81 ................................................................................. Passed 0.08 sec Start 1735: SbmlTestSuite.t82 1735/3476 Test #1735: SbmlTestSuite.t82 ................................................................................. Passed 0.09 sec Start 1736: SbmlTestSuite.t83 1736/3476 Test #1736: SbmlTestSuite.t83 ................................................................................. Passed 0.09 sec Start 1737: SbmlTestSuite.t84 1737/3476 Test #1737: SbmlTestSuite.t84 ................................................................................. Passed 0.08 sec Start 1738: SbmlTestSuite.t85 1738/3476 Test #1738: SbmlTestSuite.t85 ................................................................................. Passed 0.09 sec Start 1739: SbmlTestSuite.t86 1739/3476 Test #1739: SbmlTestSuite.t86 ................................................................................. Passed 0.09 sec Start 1740: SbmlTestSuite.t87 1740/3476 Test #1740: SbmlTestSuite.t87 ................................................................................. Passed 0.08 sec Start 1741: SbmlTestSuite.t88 1741/3476 Test #1741: SbmlTestSuite.t88 ................................................................................. Passed 0.08 sec Start 1742: SbmlTestSuite.t89 1742/3476 Test #1742: SbmlTestSuite.t89 ................................................................................. Passed 0.09 sec Start 1743: SbmlTestSuite.t90 1743/3476 Test #1743: SbmlTestSuite.t90 ................................................................................. Passed 0.09 sec Start 1744: SbmlTestSuite.t91 1744/3476 Test #1744: SbmlTestSuite.t91 ................................................................................. Passed 0.09 sec Start 1745: SbmlTestSuite.t92 1745/3476 Test #1745: SbmlTestSuite.t92 ................................................................................. Passed 0.09 sec Start 1746: SbmlTestSuite.t93 1746/3476 Test #1746: SbmlTestSuite.t93 ................................................................................. Passed 0.09 sec Start 1747: SbmlTestSuite.t94 1747/3476 Test #1747: SbmlTestSuite.t94 ................................................................................. Passed 0.09 sec Start 1748: SbmlTestSuite.t95 1748/3476 Test #1748: SbmlTestSuite.t95 ................................................................................. Passed 0.08 sec Start 1749: SbmlTestSuite.t96 1749/3476 Test #1749: SbmlTestSuite.t96 ................................................................................. Passed 0.08 sec Start 1750: SbmlTestSuite.t97 1750/3476 Test #1750: SbmlTestSuite.t97 ................................................................................. Passed 0.08 sec Start 1751: SbmlTestSuite.t98 1751/3476 Test #1751: SbmlTestSuite.t98 ................................................................................. Passed 0.09 sec Start 1752: SbmlTestSuite.t99 1752/3476 Test #1752: SbmlTestSuite.t99 ................................................................................. Passed 0.09 sec Start 1753: SbmlTestSuite.t100 1753/3476 Test #1753: SbmlTestSuite.t100 ................................................................................ Passed 0.09 sec Start 1754: SbmlTestSuite.t101 1754/3476 Test #1754: SbmlTestSuite.t101 ................................................................................ Passed 0.09 sec Start 1755: SbmlTestSuite.t102 1755/3476 Test #1755: SbmlTestSuite.t102 ................................................................................ Passed 0.09 sec Start 1756: SbmlTestSuite.t103 1756/3476 Test #1756: SbmlTestSuite.t103 ................................................................................ Passed 0.09 sec Start 1757: SbmlTestSuite.t104 1757/3476 Test #1757: SbmlTestSuite.t104 ................................................................................ Passed 0.08 sec Start 1758: SbmlTestSuite.t105 1758/3476 Test #1758: SbmlTestSuite.t105 ................................................................................ Passed 0.09 sec Start 1759: SbmlTestSuite.t106 1759/3476 Test #1759: SbmlTestSuite.t106 ................................................................................ Passed 0.09 sec Start 1760: SbmlTestSuite.t107 1760/3476 Test #1760: SbmlTestSuite.t107 ................................................................................ Passed 0.08 sec Start 1761: SbmlTestSuite.t108 1761/3476 Test #1761: SbmlTestSuite.t108 ................................................................................ Passed 0.09 sec Start 1762: SbmlTestSuite.t109 1762/3476 Test #1762: SbmlTestSuite.t109 ................................................................................ Passed 0.09 sec Start 1763: SbmlTestSuite.t110 1763/3476 Test #1763: SbmlTestSuite.t110 ................................................................................ Passed 0.09 sec Start 1764: SbmlTestSuite.t111 1764/3476 Test #1764: SbmlTestSuite.t111 ................................................................................ Passed 0.09 sec Start 1765: SbmlTestSuite.t112 1765/3476 Test #1765: SbmlTestSuite.t112 ................................................................................ Passed 0.08 sec Start 1766: SbmlTestSuite.t113 1766/3476 Test #1766: SbmlTestSuite.t113 ................................................................................ Passed 0.07 sec Start 1767: SbmlTestSuite.t114 1767/3476 Test #1767: SbmlTestSuite.t114 ................................................................................ Passed 0.08 sec Start 1768: SbmlTestSuite.t115 1768/3476 Test #1768: SbmlTestSuite.t115 ................................................................................ Passed 0.09 sec Start 1769: SbmlTestSuite.t116 1769/3476 Test #1769: SbmlTestSuite.t116 ................................................................................ Passed 0.08 sec Start 1770: SbmlTestSuite.t117 1770/3476 Test #1770: SbmlTestSuite.t117 ................................................................................ Passed 0.08 sec Start 1771: SbmlTestSuite.t118 1771/3476 Test #1771: SbmlTestSuite.t118 ................................................................................ Passed 0.08 sec Start 1772: SbmlTestSuite.t119 1772/3476 Test #1772: SbmlTestSuite.t119 ................................................................................ Passed 0.09 sec Start 1773: SbmlTestSuite.t120 1773/3476 Test #1773: SbmlTestSuite.t120 ................................................................................ Passed 0.09 sec Start 1774: SbmlTestSuite.t121 1774/3476 Test #1774: SbmlTestSuite.t121 ................................................................................ Passed 0.10 sec Start 1775: SbmlTestSuite.t122 1775/3476 Test #1775: SbmlTestSuite.t122 ................................................................................ Passed 0.08 sec Start 1776: SbmlTestSuite.t123 1776/3476 Test #1776: SbmlTestSuite.t123 ................................................................................ Passed 0.09 sec Start 1777: SbmlTestSuite.t124 1777/3476 Test #1777: SbmlTestSuite.t124 ................................................................................ Passed 0.09 sec Start 1778: SbmlTestSuite.t125 1778/3476 Test #1778: SbmlTestSuite.t125 ................................................................................ Passed 0.08 sec Start 1779: SbmlTestSuite.t126 1779/3476 Test #1779: SbmlTestSuite.t126 ................................................................................ Passed 0.08 sec Start 1780: SbmlTestSuite.t127 1780/3476 Test #1780: SbmlTestSuite.t127 ................................................................................ Passed 0.09 sec Start 1781: SbmlTestSuite.t128 1781/3476 Test #1781: SbmlTestSuite.t128 ................................................................................ Passed 0.09 sec Start 1782: SbmlTestSuite.t129 1782/3476 Test #1782: SbmlTestSuite.t129 ................................................................................ Passed 0.08 sec Start 1783: SbmlTestSuite.t130 1783/3476 Test #1783: SbmlTestSuite.t130 ................................................................................ Passed 0.09 sec Start 1784: SbmlTestSuite.t131 1784/3476 Test #1784: SbmlTestSuite.t131 ................................................................................ Passed 0.09 sec Start 1785: SbmlTestSuite.t132 1785/3476 Test #1785: SbmlTestSuite.t132 ................................................................................ Passed 0.08 sec Start 1786: SbmlTestSuite.t133 1786/3476 Test #1786: SbmlTestSuite.t133 ................................................................................ Passed 0.08 sec Start 1787: SbmlTestSuite.t134 1787/3476 Test #1787: SbmlTestSuite.t134 ................................................................................ Passed 0.08 sec Start 1788: SbmlTestSuite.t135 1788/3476 Test #1788: SbmlTestSuite.t135 ................................................................................ Passed 0.08 sec Start 1789: SbmlTestSuite.t136 1789/3476 Test #1789: SbmlTestSuite.t136 ................................................................................ Passed 0.08 sec Start 1790: SbmlTestSuite.t137 1790/3476 Test #1790: SbmlTestSuite.t137 ................................................................................ Passed 0.08 sec Start 1791: SbmlTestSuite.t138 1791/3476 Test #1791: SbmlTestSuite.t138 ................................................................................ Passed 0.08 sec Start 1792: SbmlTestSuite.t139 1792/3476 Test #1792: SbmlTestSuite.t139 ................................................................................ Passed 0.08 sec Start 1793: SbmlTestSuite.t140 1793/3476 Test #1793: SbmlTestSuite.t140 ................................................................................ Passed 0.08 sec Start 1794: SbmlTestSuite.t141 1794/3476 Test #1794: SbmlTestSuite.t141 ................................................................................ Passed 0.08 sec Start 1795: SbmlTestSuite.t142 1795/3476 Test #1795: SbmlTestSuite.t142 ................................................................................ Passed 0.08 sec Start 1796: SbmlTestSuite.t143 1796/3476 Test #1796: SbmlTestSuite.t143 ................................................................................ Passed 0.08 sec Start 1797: SbmlTestSuite.t144 1797/3476 Test #1797: SbmlTestSuite.t144 ................................................................................ Passed 0.08 sec Start 1798: SbmlTestSuite.t145 1798/3476 Test #1798: SbmlTestSuite.t145 ................................................................................ Passed 0.08 sec Start 1799: SbmlTestSuite.t146 1799/3476 Test #1799: SbmlTestSuite.t146 ................................................................................ Passed 0.08 sec Start 1800: SbmlTestSuite.t147 1800/3476 Test #1800: SbmlTestSuite.t147 ................................................................................ Passed 0.09 sec Start 1801: SbmlTestSuite.t148 1801/3476 Test #1801: SbmlTestSuite.t148 ................................................................................ Passed 0.08 sec Start 1802: SbmlTestSuite.t149 1802/3476 Test #1802: SbmlTestSuite.t149 ................................................................................ Passed 0.08 sec Start 1803: SbmlTestSuite.t150 1803/3476 Test #1803: SbmlTestSuite.t150 ................................................................................ Passed 0.08 sec Start 1804: SbmlTestSuite.t151 1804/3476 Test #1804: SbmlTestSuite.t151 ................................................................................ Passed 0.09 sec Start 1805: SbmlTestSuite.t152 1805/3476 Test #1805: SbmlTestSuite.t152 ................................................................................ Passed 0.08 sec Start 1806: SbmlTestSuite.t153 1806/3476 Test #1806: SbmlTestSuite.t153 ................................................................................ Passed 0.09 sec Start 1807: SbmlTestSuite.t154 1807/3476 Test #1807: SbmlTestSuite.t154 ................................................................................ Passed 0.08 sec Start 1808: SbmlTestSuite.t155 1808/3476 Test #1808: SbmlTestSuite.t155 ................................................................................ Passed 0.09 sec Start 1809: SbmlTestSuite.t156 1809/3476 Test #1809: SbmlTestSuite.t156 ................................................................................ Passed 0.08 sec Start 1810: SbmlTestSuite.t157 1810/3476 Test #1810: SbmlTestSuite.t157 ................................................................................ Passed 0.09 sec Start 1811: SbmlTestSuite.t158 1811/3476 Test #1811: SbmlTestSuite.t158 ................................................................................ Passed 0.08 sec Start 1812: SbmlTestSuite.t159 1812/3476 Test #1812: SbmlTestSuite.t159 ................................................................................ Passed 0.09 sec Start 1813: SbmlTestSuite.t160 1813/3476 Test #1813: SbmlTestSuite.t160 ................................................................................ Passed 0.08 sec Start 1814: SbmlTestSuite.t161 1814/3476 Test #1814: SbmlTestSuite.t161 ................................................................................ Passed 0.06 sec Start 1815: SbmlTestSuite.t162 1815/3476 Test #1815: SbmlTestSuite.t162 ................................................................................ Passed 0.07 sec Start 1816: SbmlTestSuite.t163 1816/3476 Test #1816: SbmlTestSuite.t163 ................................................................................ Passed 0.07 sec Start 1817: SbmlTestSuite.t164 1817/3476 Test #1817: SbmlTestSuite.t164 ................................................................................ Passed 0.07 sec Start 1818: SbmlTestSuite.t165 1818/3476 Test #1818: SbmlTestSuite.t165 ................................................................................ Passed 0.07 sec Start 1819: SbmlTestSuite.t166 1819/3476 Test #1819: SbmlTestSuite.t166 ................................................................................ Passed 0.07 sec Start 1820: SbmlTestSuite.t167 1820/3476 Test #1820: SbmlTestSuite.t167 ................................................................................ Passed 0.07 sec Start 1821: SbmlTestSuite.t168 1821/3476 Test #1821: SbmlTestSuite.t168 ................................................................................ Passed 0.07 sec Start 1822: SbmlTestSuite.t169 1822/3476 Test #1822: SbmlTestSuite.t169 ................................................................................ Passed 0.07 sec Start 1823: SbmlTestSuite.t170 1823/3476 Test #1823: SbmlTestSuite.t170 ................................................................................ Passed 0.07 sec Start 1824: SbmlTestSuite.t171 1824/3476 Test #1824: SbmlTestSuite.t171 ................................................................................ Passed 0.06 sec Start 1825: SbmlTestSuite.t172 1825/3476 Test #1825: SbmlTestSuite.t172 ................................................................................ Passed 0.07 sec Start 1826: SbmlTestSuite.t173 1826/3476 Test #1826: SbmlTestSuite.t173 ................................................................................ Passed 0.06 sec Start 1827: SbmlTestSuite.t174 1827/3476 Test #1827: SbmlTestSuite.t174 ................................................................................ Passed 0.06 sec Start 1828: SbmlTestSuite.t175 1828/3476 Test #1828: SbmlTestSuite.t175 ................................................................................ Passed 0.06 sec Start 1829: SbmlTestSuite.t176 1829/3476 Test #1829: SbmlTestSuite.t176 ................................................................................ Passed 0.07 sec Start 1830: SbmlTestSuite.t177 1830/3476 Test #1830: SbmlTestSuite.t177 ................................................................................ Passed 0.07 sec Start 1831: SbmlTestSuite.t178 1831/3476 Test #1831: SbmlTestSuite.t178 ................................................................................ Passed 0.07 sec Start 1832: SbmlTestSuite.t179 1832/3476 Test #1832: SbmlTestSuite.t179 ................................................................................ Passed 0.07 sec Start 1833: SbmlTestSuite.t180 1833/3476 Test #1833: SbmlTestSuite.t180 ................................................................................ Passed 0.06 sec Start 1834: SbmlTestSuite.t181 1834/3476 Test #1834: SbmlTestSuite.t181 ................................................................................ Passed 0.07 sec Start 1835: SbmlTestSuite.t182 1835/3476 Test #1835: SbmlTestSuite.t182 ................................................................................ Passed 0.02 sec Start 1836: SbmlTestSuite.t183 1836/3476 Test #1836: SbmlTestSuite.t183 ................................................................................ Passed 0.06 sec Start 1837: SbmlTestSuite.t184 1837/3476 Test #1837: SbmlTestSuite.t184 ................................................................................ Passed 0.02 sec Start 1838: SbmlTestSuite.t185 1838/3476 Test #1838: SbmlTestSuite.t185 ................................................................................ Passed 0.06 sec Start 1839: SbmlTestSuite.t186 1839/3476 Test #1839: SbmlTestSuite.t186 ................................................................................ Passed 0.09 sec Start 1840: SbmlTestSuite.t187 1840/3476 Test #1840: SbmlTestSuite.t187 ................................................................................ Passed 0.09 sec Start 1841: SbmlTestSuite.t188 1841/3476 Test #1841: SbmlTestSuite.t188 ................................................................................ Passed 0.09 sec Start 1842: SbmlTestSuite.t189 1842/3476 Test #1842: SbmlTestSuite.t189 ................................................................................ Passed 0.09 sec Start 1843: SbmlTestSuite.t190 1843/3476 Test #1843: SbmlTestSuite.t190 ................................................................................ Passed 0.08 sec Start 1844: SbmlTestSuite.t191 1844/3476 Test #1844: SbmlTestSuite.t191 ................................................................................ Passed 0.09 sec Start 1845: SbmlTestSuite.t192 1845/3476 Test #1845: SbmlTestSuite.t192 ................................................................................ Passed 0.09 sec Start 1846: SbmlTestSuite.t193 1846/3476 Test #1846: SbmlTestSuite.t193 ................................................................................ Passed 0.09 sec Start 1847: SbmlTestSuite.t194 1847/3476 Test #1847: SbmlTestSuite.t194 ................................................................................ Passed 0.09 sec Start 1848: SbmlTestSuite.t195 1848/3476 Test #1848: SbmlTestSuite.t195 ................................................................................ Passed 0.08 sec Start 1849: SbmlTestSuite.t196 1849/3476 Test #1849: SbmlTestSuite.t196 ................................................................................ Passed 0.08 sec Start 1850: SbmlTestSuite.t197 1850/3476 Test #1850: SbmlTestSuite.t197 ................................................................................ Passed 0.08 sec Start 1851: SbmlTestSuite.t198 1851/3476 Test #1851: SbmlTestSuite.t198 ................................................................................ Passed 0.10 sec Start 1852: SbmlTestSuite.t199 1852/3476 Test #1852: SbmlTestSuite.t199 ................................................................................ Passed 0.09 sec Start 1853: SbmlTestSuite.t200 1853/3476 Test #1853: SbmlTestSuite.t200 ................................................................................ Passed 0.10 sec Start 1854: SbmlTestSuite.t201 1854/3476 Test #1854: SbmlTestSuite.t201 ................................................................................ Passed 0.10 sec Start 1855: SbmlTestSuite.t202 1855/3476 Test #1855: SbmlTestSuite.t202 ................................................................................ Passed 0.08 sec Start 1856: SbmlTestSuite.t203 1856/3476 Test #1856: SbmlTestSuite.t203 ................................................................................ Passed 0.09 sec Start 1857: SbmlTestSuite.t204 1857/3476 Test #1857: SbmlTestSuite.t204 ................................................................................ Passed 0.46 sec Start 1858: SbmlTestSuite.t205 1858/3476 Test #1858: SbmlTestSuite.t205 ................................................................................ Passed 0.08 sec Start 1859: SbmlTestSuite.t206 1859/3476 Test #1859: SbmlTestSuite.t206 ................................................................................ Passed 0.09 sec Start 1860: SbmlTestSuite.t207 1860/3476 Test #1860: SbmlTestSuite.t207 ................................................................................ Passed 0.09 sec Start 1861: SbmlTestSuite.t208 1861/3476 Test #1861: SbmlTestSuite.t208 ................................................................................ Passed 0.07 sec Start 1862: SbmlTestSuite.t209 1862/3476 Test #1862: SbmlTestSuite.t209 ................................................................................ Passed 0.08 sec Start 1863: SbmlTestSuite.t210 1863/3476 Test #1863: SbmlTestSuite.t210 ................................................................................ Passed 0.09 sec Start 1864: SbmlTestSuite.t211 1864/3476 Test #1864: SbmlTestSuite.t211 ................................................................................ Passed 0.08 sec Start 1865: SbmlTestSuite.t212 1865/3476 Test #1865: SbmlTestSuite.t212 ................................................................................ Passed 0.08 sec Start 1866: SbmlTestSuite.t213 1866/3476 Test #1866: SbmlTestSuite.t213 ................................................................................ Passed 0.07 sec Start 1867: SbmlTestSuite.t214 1867/3476 Test #1867: SbmlTestSuite.t214 ................................................................................ Passed 0.09 sec Start 1868: SbmlTestSuite.t215 1868/3476 Test #1868: SbmlTestSuite.t215 ................................................................................ Passed 0.09 sec Start 1869: SbmlTestSuite.t216 1869/3476 Test #1869: SbmlTestSuite.t216 ................................................................................ Passed 0.09 sec Start 1870: SbmlTestSuite.t217 1870/3476 Test #1870: SbmlTestSuite.t217 ................................................................................ Passed 0.09 sec Start 1871: SbmlTestSuite.t218 1871/3476 Test #1871: SbmlTestSuite.t218 ................................................................................ Passed 0.09 sec Start 1872: SbmlTestSuite.t219 1872/3476 Test #1872: SbmlTestSuite.t219 ................................................................................ Passed 0.09 sec Start 1873: SbmlTestSuite.t220 1873/3476 Test #1873: SbmlTestSuite.t220 ................................................................................ Passed 0.09 sec Start 1874: SbmlTestSuite.t221 1874/3476 Test #1874: SbmlTestSuite.t221 ................................................................................ Passed 0.09 sec Start 1875: SbmlTestSuite.t222 1875/3476 Test #1875: SbmlTestSuite.t222 ................................................................................ Passed 0.09 sec Start 1876: SbmlTestSuite.t223 1876/3476 Test #1876: SbmlTestSuite.t223 ................................................................................ Passed 0.07 sec Start 1877: SbmlTestSuite.t224 1877/3476 Test #1877: SbmlTestSuite.t224 ................................................................................ Passed 0.08 sec Start 1878: SbmlTestSuite.t225 1878/3476 Test #1878: SbmlTestSuite.t225 ................................................................................ Passed 0.09 sec Start 1879: SbmlTestSuite.t226 1879/3476 Test #1879: SbmlTestSuite.t226 ................................................................................ Passed 0.08 sec Start 1880: SbmlTestSuite.t227 1880/3476 Test #1880: SbmlTestSuite.t227 ................................................................................ Passed 0.08 sec Start 1881: SbmlTestSuite.t228 1881/3476 Test #1881: SbmlTestSuite.t228 ................................................................................ Passed 0.07 sec Start 1882: SbmlTestSuite.t229 1882/3476 Test #1882: SbmlTestSuite.t229 ................................................................................ Passed 0.09 sec Start 1883: SbmlTestSuite.t230 1883/3476 Test #1883: SbmlTestSuite.t230 ................................................................................ Passed 0.09 sec Start 1884: SbmlTestSuite.t231 1884/3476 Test #1884: SbmlTestSuite.t231 ................................................................................ Passed 0.09 sec Start 1885: SbmlTestSuite.t232 1885/3476 Test #1885: SbmlTestSuite.t232 ................................................................................ Passed 0.09 sec Start 1886: SbmlTestSuite.t233 1886/3476 Test #1886: SbmlTestSuite.t233 ................................................................................ Passed 0.09 sec Start 1887: SbmlTestSuite.t234 1887/3476 Test #1887: SbmlTestSuite.t234 ................................................................................ Passed 0.09 sec Start 1888: SbmlTestSuite.t235 1888/3476 Test #1888: SbmlTestSuite.t235 ................................................................................ Passed 0.09 sec Start 1889: SbmlTestSuite.t236 1889/3476 Test #1889: SbmlTestSuite.t236 ................................................................................ Passed 0.09 sec Start 1890: SbmlTestSuite.t237 1890/3476 Test #1890: SbmlTestSuite.t237 ................................................................................ Passed 0.09 sec Start 1891: SbmlTestSuite.t238 1891/3476 Test #1891: SbmlTestSuite.t238 ................................................................................ Passed 0.08 sec Start 1892: SbmlTestSuite.t239 1892/3476 Test #1892: SbmlTestSuite.t239 ................................................................................ Passed 0.08 sec Start 1893: SbmlTestSuite.t240 1893/3476 Test #1893: SbmlTestSuite.t240 ................................................................................ Passed 0.09 sec Start 1894: SbmlTestSuite.t241 1894/3476 Test #1894: SbmlTestSuite.t241 ................................................................................ Passed 0.09 sec Start 1895: SbmlTestSuite.t242 1895/3476 Test #1895: SbmlTestSuite.t242 ................................................................................ Passed 0.09 sec Start 1896: SbmlTestSuite.t243 1896/3476 Test #1896: SbmlTestSuite.t243 ................................................................................ Passed 0.10 sec Start 1897: SbmlTestSuite.t244 1897/3476 Test #1897: SbmlTestSuite.t244 ................................................................................ Passed 0.10 sec Start 1898: SbmlTestSuite.t245 1898/3476 Test #1898: SbmlTestSuite.t245 ................................................................................ Passed 0.10 sec Start 1899: SbmlTestSuite.t246 1899/3476 Test #1899: SbmlTestSuite.t246 ................................................................................ Passed 0.09 sec Start 1900: SbmlTestSuite.t247 1900/3476 Test #1900: SbmlTestSuite.t247 ................................................................................ Passed 0.09 sec Start 1901: SbmlTestSuite.t248 1901/3476 Test #1901: SbmlTestSuite.t248 ................................................................................ Passed 0.08 sec Start 1902: SbmlTestSuite.t249 1902/3476 Test #1902: SbmlTestSuite.t249 ................................................................................ Passed 0.09 sec Start 1903: SbmlTestSuite.t250 1903/3476 Test #1903: SbmlTestSuite.t250 ................................................................................ Passed 0.10 sec Start 1904: SbmlTestSuite.t251 1904/3476 Test #1904: SbmlTestSuite.t251 ................................................................................ Passed 0.08 sec Start 1905: SbmlTestSuite.t252 1905/3476 Test #1905: SbmlTestSuite.t252 ................................................................................ Passed 0.09 sec Start 1906: SbmlTestSuite.t253 1906/3476 Test #1906: SbmlTestSuite.t253 ................................................................................ Passed 0.10 sec Start 1907: SbmlTestSuite.t254 1907/3476 Test #1907: SbmlTestSuite.t254 ................................................................................ Passed 0.09 sec Start 1908: SbmlTestSuite.t255 1908/3476 Test #1908: SbmlTestSuite.t255 ................................................................................ Passed 0.09 sec Start 1909: SbmlTestSuite.t256 1909/3476 Test #1909: SbmlTestSuite.t256 ................................................................................ Passed 0.10 sec Start 1910: SbmlTestSuite.t257 1910/3476 Test #1910: SbmlTestSuite.t257 ................................................................................ Passed 0.08 sec Start 1911: SbmlTestSuite.t258 1911/3476 Test #1911: SbmlTestSuite.t258 ................................................................................ Passed 0.09 sec Start 1912: SbmlTestSuite.t259 1912/3476 Test #1912: SbmlTestSuite.t259 ................................................................................ Passed 0.10 sec Start 1913: SbmlTestSuite.t260 1913/3476 Test #1913: SbmlTestSuite.t260 ................................................................................ Passed 0.08 sec Start 1914: SbmlTestSuite.t261 1914/3476 Test #1914: SbmlTestSuite.t261 ................................................................................ Passed 0.08 sec Start 1915: SbmlTestSuite.t262 1915/3476 Test #1915: SbmlTestSuite.t262 ................................................................................ Passed 0.08 sec Start 1916: SbmlTestSuite.t263 1916/3476 Test #1916: SbmlTestSuite.t263 ................................................................................ Passed 0.09 sec Start 1917: SbmlTestSuite.t264 1917/3476 Test #1917: SbmlTestSuite.t264 ................................................................................ Passed 0.09 sec Start 1918: SbmlTestSuite.t265 1918/3476 Test #1918: SbmlTestSuite.t265 ................................................................................ Passed 0.09 sec Start 1919: SbmlTestSuite.t266 1919/3476 Test #1919: SbmlTestSuite.t266 ................................................................................ Passed 0.09 sec Start 1920: SbmlTestSuite.t267 1920/3476 Test #1920: SbmlTestSuite.t267 ................................................................................ Passed 0.09 sec Start 1921: SbmlTestSuite.t268 1921/3476 Test #1921: SbmlTestSuite.t268 ................................................................................ Passed 0.09 sec Start 1922: SbmlTestSuite.t269 1922/3476 Test #1922: SbmlTestSuite.t269 ................................................................................ Passed 0.08 sec Start 1923: SbmlTestSuite.t270 1923/3476 Test #1923: SbmlTestSuite.t270 ................................................................................ Passed 0.10 sec Start 1924: SbmlTestSuite.t271 1924/3476 Test #1924: SbmlTestSuite.t271 ................................................................................ Passed 0.08 sec Start 1925: SbmlTestSuite.t272 1925/3476 Test #1925: SbmlTestSuite.t272 ................................................................................ Passed 0.09 sec Start 1926: SbmlTestSuite.t273 1926/3476 Test #1926: SbmlTestSuite.t273 ................................................................................ Passed 0.09 sec Start 1927: SbmlTestSuite.t274 1927/3476 Test #1927: SbmlTestSuite.t274 ................................................................................ Passed 0.09 sec Start 1928: SbmlTestSuite.t275 1928/3476 Test #1928: SbmlTestSuite.t275 ................................................................................ Passed 0.08 sec Start 1929: SbmlTestSuite.t276 1929/3476 Test #1929: SbmlTestSuite.t276 ................................................................................ Passed 0.10 sec Start 1930: SbmlTestSuite.t277 1930/3476 Test #1930: SbmlTestSuite.t277 ................................................................................ Passed 0.09 sec Start 1931: SbmlTestSuite.t278 1931/3476 Test #1931: SbmlTestSuite.t278 ................................................................................ Passed 0.10 sec Start 1932: SbmlTestSuite.t279 1932/3476 Test #1932: SbmlTestSuite.t279 ................................................................................ Passed 0.10 sec Start 1933: SbmlTestSuite.t280 1933/3476 Test #1933: SbmlTestSuite.t280 ................................................................................ Passed 0.08 sec Start 1934: SbmlTestSuite.t281 1934/3476 Test #1934: SbmlTestSuite.t281 ................................................................................ Passed 0.08 sec Start 1935: SbmlTestSuite.t282 1935/3476 Test #1935: SbmlTestSuite.t282 ................................................................................ Passed 0.09 sec Start 1936: SbmlTestSuite.t283 1936/3476 Test #1936: SbmlTestSuite.t283 ................................................................................ Passed 0.09 sec Start 1937: SbmlTestSuite.t284 1937/3476 Test #1937: SbmlTestSuite.t284 ................................................................................ Passed 0.09 sec Start 1938: SbmlTestSuite.t285 1938/3476 Test #1938: SbmlTestSuite.t285 ................................................................................ Passed 0.09 sec Start 1939: SbmlTestSuite.t286 1939/3476 Test #1939: SbmlTestSuite.t286 ................................................................................ Passed 0.09 sec Start 1940: SbmlTestSuite.t287 1940/3476 Test #1940: SbmlTestSuite.t287 ................................................................................ Passed 0.09 sec Start 1941: SbmlTestSuite.t288 1941/3476 Test #1941: SbmlTestSuite.t288 ................................................................................ Passed 0.09 sec Start 1942: SbmlTestSuite.t289 1942/3476 Test #1942: SbmlTestSuite.t289 ................................................................................ Passed 0.09 sec Start 1943: SbmlTestSuite.t290 1943/3476 Test #1943: SbmlTestSuite.t290 ................................................................................ Passed 0.09 sec Start 1944: SbmlTestSuite.t291 1944/3476 Test #1944: SbmlTestSuite.t291 ................................................................................ Passed 0.10 sec Start 1945: SbmlTestSuite.t292 1945/3476 Test #1945: SbmlTestSuite.t292 ................................................................................ Passed 0.10 sec Start 1946: SbmlTestSuite.t293 1946/3476 Test #1946: SbmlTestSuite.t293 ................................................................................ Passed 0.09 sec Start 1947: SbmlTestSuite.t294 1947/3476 Test #1947: SbmlTestSuite.t294 ................................................................................ Passed 0.09 sec Start 1948: SbmlTestSuite.t295 1948/3476 Test #1948: SbmlTestSuite.t295 ................................................................................ Passed 0.08 sec Start 1949: SbmlTestSuite.t296 1949/3476 Test #1949: SbmlTestSuite.t296 ................................................................................ Passed 0.09 sec Start 1950: SbmlTestSuite.t297 1950/3476 Test #1950: SbmlTestSuite.t297 ................................................................................ Passed 0.08 sec Start 1951: SbmlTestSuite.t298 1951/3476 Test #1951: SbmlTestSuite.t298 ................................................................................ Passed 0.08 sec Start 1952: SbmlTestSuite.t299 1952/3476 Test #1952: SbmlTestSuite.t299 ................................................................................ Passed 0.09 sec Start 1953: SbmlTestSuite.t300 1953/3476 Test #1953: SbmlTestSuite.t300 ................................................................................ Passed 0.09 sec Start 1954: SbmlTestSuite.t301 1954/3476 Test #1954: SbmlTestSuite.t301 ................................................................................ Passed 0.09 sec Start 1955: SbmlTestSuite.t302 1955/3476 Test #1955: SbmlTestSuite.t302 ................................................................................ Passed 0.09 sec Start 1956: SbmlTestSuite.t303 1956/3476 Test #1956: SbmlTestSuite.t303 ................................................................................ Passed 0.08 sec Start 1957: SbmlTestSuite.t304 1957/3476 Test #1957: SbmlTestSuite.t304 ................................................................................ Passed 0.08 sec Start 1958: SbmlTestSuite.t305 1958/3476 Test #1958: SbmlTestSuite.t305 ................................................................................ Passed 0.08 sec Start 1959: SbmlTestSuite.t306 1959/3476 Test #1959: SbmlTestSuite.t306 ................................................................................ Passed 0.09 sec Start 1960: SbmlTestSuite.t307 1960/3476 Test #1960: SbmlTestSuite.t307 ................................................................................ Passed 0.09 sec Start 1961: SbmlTestSuite.t308 1961/3476 Test #1961: SbmlTestSuite.t308 ................................................................................ Passed 0.10 sec Start 1962: SbmlTestSuite.t309 1962/3476 Test #1962: SbmlTestSuite.t309 ................................................................................ Passed 0.09 sec Start 1963: SbmlTestSuite.t310 1963/3476 Test #1963: SbmlTestSuite.t310 ................................................................................ Passed 0.08 sec Start 1964: SbmlTestSuite.t311 1964/3476 Test #1964: SbmlTestSuite.t311 ................................................................................ Passed 0.08 sec Start 1965: SbmlTestSuite.t312 1965/3476 Test #1965: SbmlTestSuite.t312 ................................................................................ Passed 0.09 sec Start 1966: SbmlTestSuite.t313 1966/3476 Test #1966: SbmlTestSuite.t313 ................................................................................ Passed 0.09 sec Start 1967: SbmlTestSuite.t314 1967/3476 Test #1967: SbmlTestSuite.t314 ................................................................................ Passed 0.09 sec Start 1968: SbmlTestSuite.t315 1968/3476 Test #1968: SbmlTestSuite.t315 ................................................................................ Passed 0.09 sec Start 1969: SbmlTestSuite.t316 1969/3476 Test #1969: SbmlTestSuite.t316 ................................................................................ Passed 0.10 sec Start 1970: SbmlTestSuite.t317 1970/3476 Test #1970: SbmlTestSuite.t317 ................................................................................ Passed 0.10 sec Start 1971: SbmlTestSuite.t318 1971/3476 Test #1971: SbmlTestSuite.t318 ................................................................................ Passed 0.10 sec Start 1972: SbmlTestSuite.t319 1972/3476 Test #1972: SbmlTestSuite.t319 ................................................................................ Passed 0.08 sec Start 1973: SbmlTestSuite.t320 1973/3476 Test #1973: SbmlTestSuite.t320 ................................................................................ Passed 0.08 sec Start 1974: SbmlTestSuite.t321 1974/3476 Test #1974: SbmlTestSuite.t321 ................................................................................ Passed 0.08 sec Start 1975: SbmlTestSuite.t322 1975/3476 Test #1975: SbmlTestSuite.t322 ................................................................................ Passed 0.09 sec Start 1976: SbmlTestSuite.t323 1976/3476 Test #1976: SbmlTestSuite.t323 ................................................................................ Passed 0.09 sec Start 1977: SbmlTestSuite.t324 1977/3476 Test #1977: SbmlTestSuite.t324 ................................................................................ Passed 0.09 sec Start 1978: SbmlTestSuite.t325 1978/3476 Test #1978: SbmlTestSuite.t325 ................................................................................ Passed 0.09 sec Start 1979: SbmlTestSuite.t326 1979/3476 Test #1979: SbmlTestSuite.t326 ................................................................................ Passed 0.09 sec Start 1980: SbmlTestSuite.t327 1980/3476 Test #1980: SbmlTestSuite.t327 ................................................................................ Passed 0.09 sec Start 1981: SbmlTestSuite.t328 1981/3476 Test #1981: SbmlTestSuite.t328 ................................................................................ Passed 0.09 sec Start 1982: SbmlTestSuite.t329 1982/3476 Test #1982: SbmlTestSuite.t329 ................................................................................ Passed 0.08 sec Start 1983: SbmlTestSuite.t330 1983/3476 Test #1983: SbmlTestSuite.t330 ................................................................................ Passed 0.09 sec Start 1984: SbmlTestSuite.t331 1984/3476 Test #1984: SbmlTestSuite.t331 ................................................................................ Passed 0.08 sec Start 1985: SbmlTestSuite.t332 1985/3476 Test #1985: SbmlTestSuite.t332 ................................................................................ Passed 0.09 sec Start 1986: SbmlTestSuite.t333 1986/3476 Test #1986: SbmlTestSuite.t333 ................................................................................ Passed 0.08 sec Start 1987: SbmlTestSuite.t334 1987/3476 Test #1987: SbmlTestSuite.t334 ................................................................................ Passed 0.09 sec Start 1988: SbmlTestSuite.t335 1988/3476 Test #1988: SbmlTestSuite.t335 ................................................................................ Passed 0.09 sec Start 1989: SbmlTestSuite.t336 1989/3476 Test #1989: SbmlTestSuite.t336 ................................................................................ Passed 0.09 sec Start 1990: SbmlTestSuite.t337 1990/3476 Test #1990: SbmlTestSuite.t337 ................................................................................ Passed 0.09 sec Start 1991: SbmlTestSuite.t338 1991/3476 Test #1991: SbmlTestSuite.t338 ................................................................................ Passed 0.09 sec Start 1992: SbmlTestSuite.t339 1992/3476 Test #1992: SbmlTestSuite.t339 ................................................................................ Passed 0.09 sec Start 1993: SbmlTestSuite.t340 1993/3476 Test #1993: SbmlTestSuite.t340 ................................................................................ Passed 0.09 sec Start 1994: SbmlTestSuite.t341 1994/3476 Test #1994: SbmlTestSuite.t341 ................................................................................ Passed 0.09 sec Start 1995: SbmlTestSuite.t342 1995/3476 Test #1995: SbmlTestSuite.t342 ................................................................................ Passed 0.09 sec Start 1996: SbmlTestSuite.t343 1996/3476 Test #1996: SbmlTestSuite.t343 ................................................................................ Passed 0.09 sec Start 1997: SbmlTestSuite.t344 1997/3476 Test #1997: SbmlTestSuite.t344 ................................................................................ Passed 0.09 sec Start 1998: SbmlTestSuite.t345 1998/3476 Test #1998: SbmlTestSuite.t345 ................................................................................ Passed 0.09 sec Start 1999: SbmlTestSuite.t346 1999/3476 Test #1999: SbmlTestSuite.t346 ................................................................................ Passed 0.09 sec Start 2000: SbmlTestSuite.t347 2000/3476 Test #2000: SbmlTestSuite.t347 ................................................................................ Passed 0.10 sec Start 2001: SbmlTestSuite.t348 2001/3476 Test #2001: SbmlTestSuite.t348 ................................................................................ Passed 0.09 sec Start 2002: SbmlTestSuite.t349 2002/3476 Test #2002: SbmlTestSuite.t349 ................................................................................ Passed 0.09 sec Start 2003: SbmlTestSuite.t350 2003/3476 Test #2003: SbmlTestSuite.t350 ................................................................................ Passed 0.09 sec Start 2004: SbmlTestSuite.t351 2004/3476 Test #2004: SbmlTestSuite.t351 ................................................................................ Passed 0.09 sec Start 2005: SbmlTestSuite.t352 2005/3476 Test #2005: SbmlTestSuite.t352 ................................................................................ Passed 0.10 sec Start 2006: SbmlTestSuite.t353 2006/3476 Test #2006: SbmlTestSuite.t353 ................................................................................ Passed 0.10 sec Start 2007: SbmlTestSuite.t354 2007/3476 Test #2007: SbmlTestSuite.t354 ................................................................................ Passed 0.09 sec Start 2008: SbmlTestSuite.t355 2008/3476 Test #2008: SbmlTestSuite.t355 ................................................................................ Passed 0.09 sec Start 2009: SbmlTestSuite.t356 2009/3476 Test #2009: SbmlTestSuite.t356 ................................................................................ Passed 0.10 sec Start 2010: SbmlTestSuite.t357 2010/3476 Test #2010: SbmlTestSuite.t357 ................................................................................ Passed 0.10 sec Start 2011: SbmlTestSuite.t358 2011/3476 Test #2011: SbmlTestSuite.t358 ................................................................................ Passed 0.09 sec Start 2012: SbmlTestSuite.t359 2012/3476 Test #2012: SbmlTestSuite.t359 ................................................................................ Passed 0.09 sec Start 2013: SbmlTestSuite.t360 2013/3476 Test #2013: SbmlTestSuite.t360 ................................................................................ Passed 0.09 sec Start 2014: SbmlTestSuite.t361 2014/3476 Test #2014: SbmlTestSuite.t361 ................................................................................ Passed 0.09 sec Start 2015: SbmlTestSuite.t362 2015/3476 Test #2015: SbmlTestSuite.t362 ................................................................................ Passed 0.09 sec Start 2016: SbmlTestSuite.t363 2016/3476 Test #2016: SbmlTestSuite.t363 ................................................................................ Passed 0.09 sec Start 2017: SbmlTestSuite.t364 2017/3476 Test #2017: SbmlTestSuite.t364 ................................................................................ Passed 0.09 sec Start 2018: SbmlTestSuite.t365 2018/3476 Test #2018: SbmlTestSuite.t365 ................................................................................ Passed 0.09 sec Start 2019: SbmlTestSuite.t366 2019/3476 Test #2019: SbmlTestSuite.t366 ................................................................................ Passed 0.09 sec Start 2020: SbmlTestSuite.t367 2020/3476 Test #2020: SbmlTestSuite.t367 ................................................................................ Passed 0.09 sec Start 2021: SbmlTestSuite.t368 2021/3476 Test #2021: SbmlTestSuite.t368 ................................................................................ Passed 0.09 sec Start 2022: SbmlTestSuite.t369 2022/3476 Test #2022: SbmlTestSuite.t369 ................................................................................ Passed 0.09 sec Start 2023: SbmlTestSuite.t370 2023/3476 Test #2023: SbmlTestSuite.t370 ................................................................................ Passed 0.09 sec Start 2024: SbmlTestSuite.t371 2024/3476 Test #2024: SbmlTestSuite.t371 ................................................................................ Passed 0.09 sec Start 2025: SbmlTestSuite.t372 2025/3476 Test #2025: SbmlTestSuite.t372 ................................................................................ Passed 0.09 sec Start 2026: SbmlTestSuite.t373 2026/3476 Test #2026: SbmlTestSuite.t373 ................................................................................ Passed 0.10 sec Start 2027: SbmlTestSuite.t374 2027/3476 Test #2027: SbmlTestSuite.t374 ................................................................................ Passed 0.10 sec Start 2028: SbmlTestSuite.t375 2028/3476 Test #2028: SbmlTestSuite.t375 ................................................................................ Passed 0.09 sec Start 2029: SbmlTestSuite.t376 2029/3476 Test #2029: SbmlTestSuite.t376 ................................................................................ Passed 0.09 sec Start 2030: SbmlTestSuite.t377 2030/3476 Test #2030: SbmlTestSuite.t377 ................................................................................ Passed 0.09 sec Start 2031: SbmlTestSuite.t378 2031/3476 Test #2031: SbmlTestSuite.t378 ................................................................................ Passed 0.10 sec Start 2032: SbmlTestSuite.t379 2032/3476 Test #2032: SbmlTestSuite.t379 ................................................................................ Passed 0.10 sec Start 2033: SbmlTestSuite.t380 2033/3476 Test #2033: SbmlTestSuite.t380 ................................................................................ Passed 0.09 sec Start 2034: SbmlTestSuite.t381 2034/3476 Test #2034: SbmlTestSuite.t381 ................................................................................ Passed 0.10 sec Start 2035: SbmlTestSuite.t382 2035/3476 Test #2035: SbmlTestSuite.t382 ................................................................................ Passed 0.10 sec Start 2036: SbmlTestSuite.t383 2036/3476 Test #2036: SbmlTestSuite.t383 ................................................................................ Passed 0.09 sec Start 2037: SbmlTestSuite.t384 2037/3476 Test #2037: SbmlTestSuite.t384 ................................................................................ Passed 0.10 sec Start 2038: SbmlTestSuite.t385 2038/3476 Test #2038: SbmlTestSuite.t385 ................................................................................ Passed 0.10 sec Start 2039: SbmlTestSuite.t386 2039/3476 Test #2039: SbmlTestSuite.t386 ................................................................................ Passed 0.10 sec Start 2040: SbmlTestSuite.t387 2040/3476 Test #2040: SbmlTestSuite.t387 ................................................................................ Passed 0.09 sec Start 2041: SbmlTestSuite.t388 2041/3476 Test #2041: SbmlTestSuite.t388 ................................................................................ Passed 0.09 sec Start 2042: SbmlTestSuite.t389 2042/3476 Test #2042: SbmlTestSuite.t389 ................................................................................ Passed 0.08 sec Start 2043: SbmlTestSuite.t390 2043/3476 Test #2043: SbmlTestSuite.t390 ................................................................................ Passed 0.09 sec Start 2044: SbmlTestSuite.t391 2044/3476 Test #2044: SbmlTestSuite.t391 ................................................................................ Passed 0.10 sec Start 2045: SbmlTestSuite.t392 2045/3476 Test #2045: SbmlTestSuite.t392 ................................................................................ Passed 0.09 sec Start 2046: SbmlTestSuite.t393 2046/3476 Test #2046: SbmlTestSuite.t393 ................................................................................ Passed 0.09 sec Start 2047: SbmlTestSuite.t394 2047/3476 Test #2047: SbmlTestSuite.t394 ................................................................................ Passed 0.09 sec Start 2048: SbmlTestSuite.t395 2048/3476 Test #2048: SbmlTestSuite.t395 ................................................................................ Passed 0.09 sec Start 2049: SbmlTestSuite.t396 2049/3476 Test #2049: SbmlTestSuite.t396 ................................................................................ Passed 0.07 sec Start 2050: SbmlTestSuite.t397 2050/3476 Test #2050: SbmlTestSuite.t397 ................................................................................ Passed 0.07 sec Start 2051: SbmlTestSuite.t398 2051/3476 Test #2051: SbmlTestSuite.t398 ................................................................................ Passed 0.07 sec Start 2052: SbmlTestSuite.t399 2052/3476 Test #2052: SbmlTestSuite.t399 ................................................................................ Passed 0.09 sec Start 2053: SbmlTestSuite.t400 2053/3476 Test #2053: SbmlTestSuite.t400 ................................................................................ Passed 0.10 sec Start 2054: SbmlTestSuite.t401 2054/3476 Test #2054: SbmlTestSuite.t401 ................................................................................ Passed 0.09 sec Start 2055: SbmlTestSuite.t402 2055/3476 Test #2055: SbmlTestSuite.t402 ................................................................................ Passed 0.07 sec Start 2056: SbmlTestSuite.t403 2056/3476 Test #2056: SbmlTestSuite.t403 ................................................................................ Passed 0.07 sec Start 2057: SbmlTestSuite.t404 2057/3476 Test #2057: SbmlTestSuite.t404 ................................................................................ Passed 0.07 sec Start 2058: SbmlTestSuite.t405 2058/3476 Test #2058: SbmlTestSuite.t405 ................................................................................ Passed 0.09 sec Start 2059: SbmlTestSuite.t406 2059/3476 Test #2059: SbmlTestSuite.t406 ................................................................................ Passed 0.09 sec Start 2060: SbmlTestSuite.t407 2060/3476 Test #2060: SbmlTestSuite.t407 ................................................................................ Passed 0.09 sec Start 2061: SbmlTestSuite.t408 2061/3476 Test #2061: SbmlTestSuite.t408 ................................................................................ Passed 0.09 sec Start 2062: SbmlTestSuite.t409 2062/3476 Test #2062: SbmlTestSuite.t409 ................................................................................ Passed 0.10 sec Start 2063: SbmlTestSuite.t410 2063/3476 Test #2063: SbmlTestSuite.t410 ................................................................................ Passed 0.10 sec Start 2064: SbmlTestSuite.t411 2064/3476 Test #2064: SbmlTestSuite.t411 ................................................................................ Passed 0.09 sec Start 2065: SbmlTestSuite.t412 2065/3476 Test #2065: SbmlTestSuite.t412 ................................................................................ Passed 0.09 sec Start 2066: SbmlTestSuite.t413 2066/3476 Test #2066: SbmlTestSuite.t413 ................................................................................ Passed 0.10 sec Start 2067: SbmlTestSuite.t414 2067/3476 Test #2067: SbmlTestSuite.t414 ................................................................................ Passed 0.10 sec Start 2068: SbmlTestSuite.t415 2068/3476 Test #2068: SbmlTestSuite.t415 ................................................................................ Passed 0.09 sec Start 2069: SbmlTestSuite.t416 2069/3476 Test #2069: SbmlTestSuite.t416 ................................................................................ Passed 0.10 sec Start 2070: SbmlTestSuite.t417 2070/3476 Test #2070: SbmlTestSuite.t417 ................................................................................ Passed 0.09 sec Start 2071: SbmlTestSuite.t418 2071/3476 Test #2071: SbmlTestSuite.t418 ................................................................................ Passed 0.09 sec Start 2072: SbmlTestSuite.t419 2072/3476 Test #2072: SbmlTestSuite.t419 ................................................................................ Passed 0.09 sec Start 2073: SbmlTestSuite.t420 2073/3476 Test #2073: SbmlTestSuite.t420 ................................................................................ Passed 0.09 sec Start 2074: SbmlTestSuite.t421 2074/3476 Test #2074: SbmlTestSuite.t421 ................................................................................ Passed 0.09 sec Start 2075: SbmlTestSuite.t422 2075/3476 Test #2075: SbmlTestSuite.t422 ................................................................................ Passed 0.10 sec Start 2076: SbmlTestSuite.t423 2076/3476 Test #2076: SbmlTestSuite.t423 ................................................................................ Passed 0.09 sec Start 2077: SbmlTestSuite.t424 2077/3476 Test #2077: SbmlTestSuite.t424 ................................................................................ Passed 0.09 sec Start 2078: SbmlTestSuite.t425 2078/3476 Test #2078: SbmlTestSuite.t425 ................................................................................ Passed 0.09 sec Start 2079: SbmlTestSuite.t426 2079/3476 Test #2079: SbmlTestSuite.t426 ................................................................................ Passed 0.09 sec Start 2080: SbmlTestSuite.t427 2080/3476 Test #2080: SbmlTestSuite.t427 ................................................................................ Passed 0.10 sec Start 2081: SbmlTestSuite.t428 2081/3476 Test #2081: SbmlTestSuite.t428 ................................................................................ Passed 0.09 sec Start 2082: SbmlTestSuite.t429 2082/3476 Test #2082: SbmlTestSuite.t429 ................................................................................ Passed 0.10 sec Start 2083: SbmlTestSuite.t430 2083/3476 Test #2083: SbmlTestSuite.t430 ................................................................................ Passed 0.10 sec Start 2084: SbmlTestSuite.t431 2084/3476 Test #2084: SbmlTestSuite.t431 ................................................................................ Passed 0.10 sec Start 2085: SbmlTestSuite.t432 2085/3476 Test #2085: SbmlTestSuite.t432 ................................................................................ Passed 0.10 sec Start 2086: SbmlTestSuite.t433 2086/3476 Test #2086: SbmlTestSuite.t433 ................................................................................ Passed 0.10 sec Start 2087: SbmlTestSuite.t434 2087/3476 Test #2087: SbmlTestSuite.t434 ................................................................................ Passed 0.09 sec Start 2088: SbmlTestSuite.t435 2088/3476 Test #2088: SbmlTestSuite.t435 ................................................................................ Passed 0.10 sec Start 2089: SbmlTestSuite.t436 2089/3476 Test #2089: SbmlTestSuite.t436 ................................................................................ Passed 0.10 sec Start 2090: SbmlTestSuite.t437 2090/3476 Test #2090: SbmlTestSuite.t437 ................................................................................ Passed 0.10 sec Start 2091: SbmlTestSuite.t438 2091/3476 Test #2091: SbmlTestSuite.t438 ................................................................................ Passed 0.10 sec Start 2092: SbmlTestSuite.t439 2092/3476 Test #2092: SbmlTestSuite.t439 ................................................................................ Passed 0.10 sec Start 2093: SbmlTestSuite.t440 2093/3476 Test #2093: SbmlTestSuite.t440 ................................................................................ Passed 0.09 sec Start 2094: SbmlTestSuite.t441 2094/3476 Test #2094: SbmlTestSuite.t441 ................................................................................ Passed 0.10 sec Start 2095: SbmlTestSuite.t442 2095/3476 Test #2095: SbmlTestSuite.t442 ................................................................................ Passed 0.10 sec Start 2096: SbmlTestSuite.t443 2096/3476 Test #2096: SbmlTestSuite.t443 ................................................................................ Passed 0.10 sec Start 2097: SbmlTestSuite.t444 2097/3476 Test #2097: SbmlTestSuite.t444 ................................................................................ Passed 0.09 sec Start 2098: SbmlTestSuite.t445 2098/3476 Test #2098: SbmlTestSuite.t445 ................................................................................ Passed 0.09 sec Start 2099: SbmlTestSuite.t446 2099/3476 Test #2099: SbmlTestSuite.t446 ................................................................................ Passed 0.09 sec Start 2100: SbmlTestSuite.t447 2100/3476 Test #2100: SbmlTestSuite.t447 ................................................................................ Passed 0.10 sec Start 2101: SbmlTestSuite.t448 2101/3476 Test #2101: SbmlTestSuite.t448 ................................................................................ Passed 0.10 sec Start 2102: SbmlTestSuite.t449 2102/3476 Test #2102: SbmlTestSuite.t449 ................................................................................ Passed 0.09 sec Start 2103: SbmlTestSuite.t450 2103/3476 Test #2103: SbmlTestSuite.t450 ................................................................................ Passed 0.09 sec Start 2104: SbmlTestSuite.t451 2104/3476 Test #2104: SbmlTestSuite.t451 ................................................................................ Passed 0.10 sec Start 2105: SbmlTestSuite.t452 2105/3476 Test #2105: SbmlTestSuite.t452 ................................................................................ Passed 0.09 sec Start 2106: SbmlTestSuite.t453 2106/3476 Test #2106: SbmlTestSuite.t453 ................................................................................ Passed 0.07 sec Start 2107: SbmlTestSuite.t454 2107/3476 Test #2107: SbmlTestSuite.t454 ................................................................................ Passed 0.07 sec Start 2108: SbmlTestSuite.t455 2108/3476 Test #2108: SbmlTestSuite.t455 ................................................................................ Passed 0.07 sec Start 2109: SbmlTestSuite.t456 2109/3476 Test #2109: SbmlTestSuite.t456 ................................................................................ Passed 0.09 sec Start 2110: SbmlTestSuite.t457 2110/3476 Test #2110: SbmlTestSuite.t457 ................................................................................ Passed 0.10 sec Start 2111: SbmlTestSuite.t458 2111/3476 Test #2111: SbmlTestSuite.t458 ................................................................................ Passed 0.10 sec Start 2112: SbmlTestSuite.t459 2112/3476 Test #2112: SbmlTestSuite.t459 ................................................................................ Passed 0.07 sec Start 2113: SbmlTestSuite.t460 2113/3476 Test #2113: SbmlTestSuite.t460 ................................................................................ Passed 0.07 sec Start 2114: SbmlTestSuite.t461 2114/3476 Test #2114: SbmlTestSuite.t461 ................................................................................ Passed 0.08 sec Start 2115: SbmlTestSuite.t462 2115/3476 Test #2115: SbmlTestSuite.t462 ................................................................................ Passed 0.08 sec Start 2116: SbmlTestSuite.t463 2116/3476 Test #2116: SbmlTestSuite.t463 ................................................................................ Passed 0.08 sec Start 2117: SbmlTestSuite.t464 2117/3476 Test #2117: SbmlTestSuite.t464 ................................................................................ Passed 0.08 sec Start 2118: SbmlTestSuite.t465 2118/3476 Test #2118: SbmlTestSuite.t465 ................................................................................ Passed 0.09 sec Start 2119: SbmlTestSuite.t466 2119/3476 Test #2119: SbmlTestSuite.t466 ................................................................................ Passed 0.09 sec Start 2120: SbmlTestSuite.t467 2120/3476 Test #2120: SbmlTestSuite.t467 ................................................................................ Passed 0.09 sec Start 2121: SbmlTestSuite.t468 2121/3476 Test #2121: SbmlTestSuite.t468 ................................................................................ Passed 0.09 sec Start 2122: SbmlTestSuite.t469 2122/3476 Test #2122: SbmlTestSuite.t469 ................................................................................ Passed 0.08 sec Start 2123: SbmlTestSuite.t470 2123/3476 Test #2123: SbmlTestSuite.t470 ................................................................................ Passed 0.08 sec Start 2124: SbmlTestSuite.t471 2124/3476 Test #2124: SbmlTestSuite.t471 ................................................................................ Passed 0.08 sec Start 2125: SbmlTestSuite.t472 2125/3476 Test #2125: SbmlTestSuite.t472 ................................................................................ Passed 0.08 sec Start 2126: SbmlTestSuite.t473 2126/3476 Test #2126: SbmlTestSuite.t473 ................................................................................ Passed 0.08 sec Start 2127: SbmlTestSuite.t474 2127/3476 Test #2127: SbmlTestSuite.t474 ................................................................................ Passed 0.09 sec Start 2128: SbmlTestSuite.t475 2128/3476 Test #2128: SbmlTestSuite.t475 ................................................................................ Passed 0.09 sec Start 2129: SbmlTestSuite.t476 2129/3476 Test #2129: SbmlTestSuite.t476 ................................................................................ Passed 0.09 sec Start 2130: SbmlTestSuite.t477 2130/3476 Test #2130: SbmlTestSuite.t477 ................................................................................ Passed 0.09 sec Start 2131: SbmlTestSuite.t478 2131/3476 Test #2131: SbmlTestSuite.t478 ................................................................................ Passed 0.09 sec Start 2132: SbmlTestSuite.t479 2132/3476 Test #2132: SbmlTestSuite.t479 ................................................................................ Passed 0.09 sec Start 2133: SbmlTestSuite.t480 2133/3476 Test #2133: SbmlTestSuite.t480 ................................................................................ Passed 0.09 sec Start 2134: SbmlTestSuite.t481 2134/3476 Test #2134: SbmlTestSuite.t481 ................................................................................ Passed 0.09 sec Start 2135: SbmlTestSuite.t482 2135/3476 Test #2135: SbmlTestSuite.t482 ................................................................................ Passed 0.09 sec Start 2136: SbmlTestSuite.t483 2136/3476 Test #2136: SbmlTestSuite.t483 ................................................................................ Passed 0.09 sec Start 2137: SbmlTestSuite.t484 2137/3476 Test #2137: SbmlTestSuite.t484 ................................................................................ Passed 0.09 sec Start 2138: SbmlTestSuite.t485 2138/3476 Test #2138: SbmlTestSuite.t485 ................................................................................ Passed 0.09 sec Start 2139: SbmlTestSuite.t486 2139/3476 Test #2139: SbmlTestSuite.t486 ................................................................................ Passed 0.09 sec Start 2140: SbmlTestSuite.t487 2140/3476 Test #2140: SbmlTestSuite.t487 ................................................................................ Passed 0.09 sec Start 2141: SbmlTestSuite.t488 2141/3476 Test #2141: SbmlTestSuite.t488 ................................................................................ Passed 0.09 sec Start 2142: SbmlTestSuite.t489 2142/3476 Test #2142: SbmlTestSuite.t489 ................................................................................ Passed 0.09 sec Start 2143: SbmlTestSuite.t490 2143/3476 Test #2143: SbmlTestSuite.t490 ................................................................................ Passed 0.09 sec Start 2144: SbmlTestSuite.t491 2144/3476 Test #2144: SbmlTestSuite.t491 ................................................................................ Passed 0.09 sec Start 2145: SbmlTestSuite.t492 2145/3476 Test #2145: SbmlTestSuite.t492 ................................................................................ Passed 0.08 sec Start 2146: SbmlTestSuite.t493 2146/3476 Test #2146: SbmlTestSuite.t493 ................................................................................ Passed 0.08 sec Start 2147: SbmlTestSuite.t494 2147/3476 Test #2147: SbmlTestSuite.t494 ................................................................................ Passed 0.08 sec Start 2148: SbmlTestSuite.t495 2148/3476 Test #2148: SbmlTestSuite.t495 ................................................................................ Passed 0.09 sec Start 2149: SbmlTestSuite.t496 2149/3476 Test #2149: SbmlTestSuite.t496 ................................................................................ Passed 0.09 sec Start 2150: SbmlTestSuite.t497 2150/3476 Test #2150: SbmlTestSuite.t497 ................................................................................ Passed 0.09 sec Start 2151: SbmlTestSuite.t498 2151/3476 Test #2151: SbmlTestSuite.t498 ................................................................................ Passed 0.08 sec Start 2152: SbmlTestSuite.t499 2152/3476 Test #2152: SbmlTestSuite.t499 ................................................................................ Passed 0.08 sec Start 2153: SbmlTestSuite.t500 2153/3476 Test #2153: SbmlTestSuite.t500 ................................................................................ Passed 0.08 sec Start 2154: SbmlTestSuite.t501 2154/3476 Test #2154: SbmlTestSuite.t501 ................................................................................ Passed 0.09 sec Start 2155: SbmlTestSuite.t502 2155/3476 Test #2155: SbmlTestSuite.t502 ................................................................................ Passed 0.09 sec Start 2156: SbmlTestSuite.t503 2156/3476 Test #2156: SbmlTestSuite.t503 ................................................................................ Passed 0.09 sec Start 2157: SbmlTestSuite.t504 2157/3476 Test #2157: SbmlTestSuite.t504 ................................................................................ Passed 0.09 sec Start 2158: SbmlTestSuite.t505 2158/3476 Test #2158: SbmlTestSuite.t505 ................................................................................ Passed 0.09 sec Start 2159: SbmlTestSuite.t506 2159/3476 Test #2159: SbmlTestSuite.t506 ................................................................................ Passed 0.09 sec Start 2160: SbmlTestSuite.t507 2160/3476 Test #2160: SbmlTestSuite.t507 ................................................................................ Passed 0.09 sec Start 2161: SbmlTestSuite.t508 2161/3476 Test #2161: SbmlTestSuite.t508 ................................................................................ Passed 0.09 sec Start 2162: SbmlTestSuite.t509 2162/3476 Test #2162: SbmlTestSuite.t509 ................................................................................ Passed 0.09 sec Start 2163: SbmlTestSuite.t510 2163/3476 Test #2163: SbmlTestSuite.t510 ................................................................................ Passed 0.08 sec Start 2164: SbmlTestSuite.t511 2164/3476 Test #2164: SbmlTestSuite.t511 ................................................................................ Passed 0.08 sec Start 2165: SbmlTestSuite.t512 2165/3476 Test #2165: SbmlTestSuite.t512 ................................................................................ Passed 0.08 sec Start 2166: SbmlTestSuite.t513 2166/3476 Test #2166: SbmlTestSuite.t513 ................................................................................ Passed 0.09 sec Start 2167: SbmlTestSuite.t514 2167/3476 Test #2167: SbmlTestSuite.t514 ................................................................................ Passed 0.09 sec Start 2168: SbmlTestSuite.t515 2168/3476 Test #2168: SbmlTestSuite.t515 ................................................................................ Passed 0.09 sec Start 2169: SbmlTestSuite.t516 2169/3476 Test #2169: SbmlTestSuite.t516 ................................................................................ Passed 0.08 sec Start 2170: SbmlTestSuite.t517 2170/3476 Test #2170: SbmlTestSuite.t517 ................................................................................ Passed 0.08 sec Start 2171: SbmlTestSuite.t518 2171/3476 Test #2171: SbmlTestSuite.t518 ................................................................................ Passed 0.08 sec Start 2172: SbmlTestSuite.t519 2172/3476 Test #2172: SbmlTestSuite.t519 ................................................................................ Passed 0.09 sec Start 2173: SbmlTestSuite.t520 2173/3476 Test #2173: SbmlTestSuite.t520 ................................................................................ Passed 0.09 sec Start 2174: SbmlTestSuite.t521 2174/3476 Test #2174: SbmlTestSuite.t521 ................................................................................ Passed 0.09 sec Start 2175: SbmlTestSuite.t522 2175/3476 Test #2175: SbmlTestSuite.t522 ................................................................................ Passed 0.09 sec Start 2176: SbmlTestSuite.t523 2176/3476 Test #2176: SbmlTestSuite.t523 ................................................................................ Passed 0.08 sec Start 2177: SbmlTestSuite.t524 2177/3476 Test #2177: SbmlTestSuite.t524 ................................................................................ Passed 0.08 sec Start 2178: SbmlTestSuite.t525 2178/3476 Test #2178: SbmlTestSuite.t525 ................................................................................ Passed 0.08 sec Start 2179: SbmlTestSuite.t526 2179/3476 Test #2179: SbmlTestSuite.t526 ................................................................................ Passed 0.08 sec Start 2180: SbmlTestSuite.t527 2180/3476 Test #2180: SbmlTestSuite.t527 ................................................................................ Passed 0.08 sec Start 2181: SbmlTestSuite.t528 2181/3476 Test #2181: SbmlTestSuite.t528 ................................................................................ Passed 0.08 sec Start 2182: SbmlTestSuite.t529 2182/3476 Test #2182: SbmlTestSuite.t529 ................................................................................ Passed 0.08 sec Start 2183: SbmlTestSuite.t530 2183/3476 Test #2183: SbmlTestSuite.t530 ................................................................................ Passed 0.08 sec Start 2184: SbmlTestSuite.t531 2184/3476 Test #2184: SbmlTestSuite.t531 ................................................................................ Passed 0.02 sec Start 2185: SbmlTestSuite.t532 2185/3476 Test #2185: SbmlTestSuite.t532 ................................................................................ Passed 0.02 sec Start 2186: SbmlTestSuite.t533 2186/3476 Test #2186: SbmlTestSuite.t533 ................................................................................ Passed 0.02 sec Start 2187: SbmlTestSuite.t534 2187/3476 Test #2187: SbmlTestSuite.t534 ................................................................................ Passed 0.02 sec Start 2188: SbmlTestSuite.t535 2188/3476 Test #2188: SbmlTestSuite.t535 ................................................................................ Passed 0.02 sec Start 2189: SbmlTestSuite.t536 2189/3476 Test #2189: SbmlTestSuite.t536 ................................................................................ Passed 0.02 sec Start 2190: SbmlTestSuite.t537 2190/3476 Test #2190: SbmlTestSuite.t537 ................................................................................ Passed 0.02 sec Start 2191: SbmlTestSuite.t538 2191/3476 Test #2191: SbmlTestSuite.t538 ................................................................................ Passed 0.02 sec Start 2192: SbmlTestSuite.t539 2192/3476 Test #2192: SbmlTestSuite.t539 ................................................................................ Passed 0.02 sec Start 2193: SbmlTestSuite.t540 2193/3476 Test #2193: SbmlTestSuite.t540 ................................................................................ Passed 0.02 sec Start 2194: SbmlTestSuite.t541 2194/3476 Test #2194: SbmlTestSuite.t541 ................................................................................ Passed 0.02 sec Start 2195: SbmlTestSuite.t542 2195/3476 Test #2195: SbmlTestSuite.t542 ................................................................................ Passed 0.02 sec Start 2196: SbmlTestSuite.t543 2196/3476 Test #2196: SbmlTestSuite.t543 ................................................................................ Passed 0.02 sec Start 2197: SbmlTestSuite.t544 2197/3476 Test #2197: SbmlTestSuite.t544 ................................................................................ Passed 0.02 sec Start 2198: SbmlTestSuite.t545 2198/3476 Test #2198: SbmlTestSuite.t545 ................................................................................ Passed 0.02 sec Start 2199: SbmlTestSuite.t546 2199/3476 Test #2199: SbmlTestSuite.t546 ................................................................................ Passed 0.02 sec Start 2200: SbmlTestSuite.t547 2200/3476 Test #2200: SbmlTestSuite.t547 ................................................................................ Passed 0.02 sec Start 2201: SbmlTestSuite.t548 2201/3476 Test #2201: SbmlTestSuite.t548 ................................................................................ Passed 0.02 sec Start 2202: SbmlTestSuite.t549 2202/3476 Test #2202: SbmlTestSuite.t549 ................................................................................ Passed 0.02 sec Start 2203: SbmlTestSuite.t550 2203/3476 Test #2203: SbmlTestSuite.t550 ................................................................................ Passed 0.02 sec Start 2204: SbmlTestSuite.t551 2204/3476 Test #2204: SbmlTestSuite.t551 ................................................................................ Passed 0.02 sec Start 2205: SbmlTestSuite.t552 2205/3476 Test #2205: SbmlTestSuite.t552 ................................................................................ Passed 0.02 sec Start 2206: SbmlTestSuite.t553 2206/3476 Test #2206: SbmlTestSuite.t553 ................................................................................ Passed 0.02 sec Start 2207: SbmlTestSuite.t554 2207/3476 Test #2207: SbmlTestSuite.t554 ................................................................................ Passed 0.02 sec Start 2208: SbmlTestSuite.t555 2208/3476 Test #2208: SbmlTestSuite.t555 ................................................................................ Passed 0.02 sec Start 2209: SbmlTestSuite.t556 2209/3476 Test #2209: SbmlTestSuite.t556 ................................................................................ Passed 0.02 sec Start 2210: SbmlTestSuite.t557 2210/3476 Test #2210: SbmlTestSuite.t557 ................................................................................ Passed 0.02 sec Start 2211: SbmlTestSuite.t558 2211/3476 Test #2211: SbmlTestSuite.t558 ................................................................................ Passed 0.02 sec Start 2212: SbmlTestSuite.t559 2212/3476 Test #2212: SbmlTestSuite.t559 ................................................................................ Passed 0.02 sec Start 2213: SbmlTestSuite.t560 2213/3476 Test #2213: SbmlTestSuite.t560 ................................................................................ Passed 0.02 sec Start 2214: SbmlTestSuite.t561 2214/3476 Test #2214: SbmlTestSuite.t561 ................................................................................ Passed 0.02 sec Start 2215: SbmlTestSuite.t562 2215/3476 Test #2215: SbmlTestSuite.t562 ................................................................................ Passed 0.02 sec Start 2216: SbmlTestSuite.t563 2216/3476 Test #2216: SbmlTestSuite.t563 ................................................................................ Passed 0.02 sec Start 2217: SbmlTestSuite.t564 2217/3476 Test #2217: SbmlTestSuite.t564 ................................................................................ Passed 0.02 sec Start 2218: SbmlTestSuite.t565 2218/3476 Test #2218: SbmlTestSuite.t565 ................................................................................ Passed 0.02 sec Start 2219: SbmlTestSuite.t566 2219/3476 Test #2219: SbmlTestSuite.t566 ................................................................................ Passed 0.02 sec Start 2220: SbmlTestSuite.t567 2220/3476 Test #2220: SbmlTestSuite.t567 ................................................................................ Passed 0.02 sec Start 2221: SbmlTestSuite.t568 2221/3476 Test #2221: SbmlTestSuite.t568 ................................................................................ Passed 0.02 sec Start 2222: SbmlTestSuite.t569 2222/3476 Test #2222: SbmlTestSuite.t569 ................................................................................ Passed 0.02 sec Start 2223: SbmlTestSuite.t570 2223/3476 Test #2223: SbmlTestSuite.t570 ................................................................................ Passed 0.02 sec Start 2224: SbmlTestSuite.t571 2224/3476 Test #2224: SbmlTestSuite.t571 ................................................................................ Passed 0.02 sec Start 2225: SbmlTestSuite.t572 2225/3476 Test #2225: SbmlTestSuite.t572 ................................................................................ Passed 0.02 sec Start 2226: SbmlTestSuite.t573 2226/3476 Test #2226: SbmlTestSuite.t573 ................................................................................ Passed 0.02 sec Start 2227: SbmlTestSuite.t574 2227/3476 Test #2227: SbmlTestSuite.t574 ................................................................................ Passed 0.02 sec Start 2228: SbmlTestSuite.t575 2228/3476 Test #2228: SbmlTestSuite.t575 ................................................................................ Passed 0.02 sec Start 2229: SbmlTestSuite.t576 2229/3476 Test #2229: SbmlTestSuite.t576 ................................................................................ Passed 0.02 sec Start 2230: SbmlTestSuite.t577 2230/3476 Test #2230: SbmlTestSuite.t577 ................................................................................ Passed 0.09 sec Start 2231: SbmlTestSuite.t578 2231/3476 Test #2231: SbmlTestSuite.t578 ................................................................................ Passed 0.09 sec Start 2232: SbmlTestSuite.t579 2232/3476 Test #2232: SbmlTestSuite.t579 ................................................................................ Passed 0.08 sec Start 2233: SbmlTestSuite.t580 2233/3476 Test #2233: SbmlTestSuite.t580 ................................................................................ Passed 0.09 sec Start 2234: SbmlTestSuite.t581 2234/3476 Test #2234: SbmlTestSuite.t581 ................................................................................ Passed 0.09 sec Start 2235: SbmlTestSuite.t582 2235/3476 Test #2235: SbmlTestSuite.t582 ................................................................................ Passed 0.09 sec Start 2236: SbmlTestSuite.t583 2236/3476 Test #2236: SbmlTestSuite.t583 ................................................................................ Passed 0.09 sec Start 2237: SbmlTestSuite.t584 2237/3476 Test #2237: SbmlTestSuite.t584 ................................................................................ Passed 0.09 sec Start 2238: SbmlTestSuite.t585 2238/3476 Test #2238: SbmlTestSuite.t585 ................................................................................ Passed 0.09 sec Start 2239: SbmlTestSuite.t586 2239/3476 Test #2239: SbmlTestSuite.t586 ................................................................................ Passed 0.08 sec Start 2240: SbmlTestSuite.t587 2240/3476 Test #2240: SbmlTestSuite.t587 ................................................................................ Passed 0.09 sec Start 2241: SbmlTestSuite.t588 2241/3476 Test #2241: SbmlTestSuite.t588 ................................................................................ Passed 0.09 sec Start 2242: SbmlTestSuite.t589 2242/3476 Test #2242: SbmlTestSuite.t589 ................................................................................ Passed 0.08 sec Start 2243: SbmlTestSuite.t590 2243/3476 Test #2243: SbmlTestSuite.t590 ................................................................................ Passed 0.09 sec Start 2244: SbmlTestSuite.t591 2244/3476 Test #2244: SbmlTestSuite.t591 ................................................................................ Passed 0.09 sec Start 2245: SbmlTestSuite.t592 2245/3476 Test #2245: SbmlTestSuite.t592 ................................................................................ Passed 0.08 sec Start 2246: SbmlTestSuite.t593 2246/3476 Test #2246: SbmlTestSuite.t593 ................................................................................ Passed 0.09 sec Start 2247: SbmlTestSuite.t594 2247/3476 Test #2247: SbmlTestSuite.t594 ................................................................................ Passed 0.09 sec Start 2248: SbmlTestSuite.t595 2248/3476 Test #2248: SbmlTestSuite.t595 ................................................................................ Passed 0.08 sec Start 2249: SbmlTestSuite.t596 2249/3476 Test #2249: SbmlTestSuite.t596 ................................................................................ Passed 0.08 sec Start 2250: SbmlTestSuite.t597 2250/3476 Test #2250: SbmlTestSuite.t597 ................................................................................ Passed 0.08 sec Start 2251: SbmlTestSuite.t598 2251/3476 Test #2251: SbmlTestSuite.t598 ................................................................................ Passed 0.09 sec Start 2252: SbmlTestSuite.t599 2252/3476 Test #2252: SbmlTestSuite.t599 ................................................................................ Passed 0.09 sec Start 2253: SbmlTestSuite.t600 2253/3476 Test #2253: SbmlTestSuite.t600 ................................................................................ Passed 0.10 sec Start 2254: SbmlTestSuite.t601 2254/3476 Test #2254: SbmlTestSuite.t601 ................................................................................ Passed 0.08 sec Start 2255: SbmlTestSuite.t602 2255/3476 Test #2255: SbmlTestSuite.t602 ................................................................................ Passed 0.09 sec Start 2256: SbmlTestSuite.t603 2256/3476 Test #2256: SbmlTestSuite.t603 ................................................................................ Passed 0.09 sec Start 2257: SbmlTestSuite.t604 2257/3476 Test #2257: SbmlTestSuite.t604 ................................................................................ Passed 0.08 sec Start 2258: SbmlTestSuite.t605 2258/3476 Test #2258: SbmlTestSuite.t605 ................................................................................ Passed 0.09 sec Start 2259: SbmlTestSuite.t606 2259/3476 Test #2259: SbmlTestSuite.t606 ................................................................................ Passed 0.09 sec Start 2260: SbmlTestSuite.t607 2260/3476 Test #2260: SbmlTestSuite.t607 ................................................................................ Passed 0.09 sec Start 2261: SbmlTestSuite.t608 2261/3476 Test #2261: SbmlTestSuite.t608 ................................................................................ Passed 0.08 sec Start 2262: SbmlTestSuite.t609 2262/3476 Test #2262: SbmlTestSuite.t609 ................................................................................ Passed 0.08 sec Start 2263: SbmlTestSuite.t610 2263/3476 Test #2263: SbmlTestSuite.t610 ................................................................................ Passed 0.09 sec Start 2264: SbmlTestSuite.t611 2264/3476 Test #2264: SbmlTestSuite.t611 ................................................................................ Passed 0.08 sec Start 2265: SbmlTestSuite.t612 2265/3476 Test #2265: SbmlTestSuite.t612 ................................................................................ Passed 0.09 sec Start 2266: SbmlTestSuite.t613 2266/3476 Test #2266: SbmlTestSuite.t613 ................................................................................ Passed 0.02 sec Start 2267: SbmlTestSuite.t614 2267/3476 Test #2267: SbmlTestSuite.t614 ................................................................................ Passed 0.02 sec Start 2268: SbmlTestSuite.t615 2268/3476 Test #2268: SbmlTestSuite.t615 ................................................................................ Passed 0.02 sec Start 2269: SbmlTestSuite.t616 2269/3476 Test #2269: SbmlTestSuite.t616 ................................................................................ Passed 0.07 sec Start 2270: SbmlTestSuite.t617 2270/3476 Test #2270: SbmlTestSuite.t617 ................................................................................ Passed 0.08 sec Start 2271: SbmlTestSuite.t618 2271/3476 Test #2271: SbmlTestSuite.t618 ................................................................................ Passed 0.07 sec Start 2272: SbmlTestSuite.t619 2272/3476 Test #2272: SbmlTestSuite.t619 ................................................................................ Passed 0.09 sec Start 2273: SbmlTestSuite.t620 2273/3476 Test #2273: SbmlTestSuite.t620 ................................................................................ Passed 0.09 sec Start 2274: SbmlTestSuite.t621 2274/3476 Test #2274: SbmlTestSuite.t621 ................................................................................ Passed 0.09 sec Start 2275: SbmlTestSuite.t622 2275/3476 Test #2275: SbmlTestSuite.t622 ................................................................................ Passed 0.09 sec Start 2276: SbmlTestSuite.t623 2276/3476 Test #2276: SbmlTestSuite.t623 ................................................................................ Passed 0.09 sec Start 2277: SbmlTestSuite.t624 2277/3476 Test #2277: SbmlTestSuite.t624 ................................................................................ Passed 0.09 sec Start 2278: SbmlTestSuite.t625 2278/3476 Test #2278: SbmlTestSuite.t625 ................................................................................ Passed 0.09 sec Start 2279: SbmlTestSuite.t626 2279/3476 Test #2279: SbmlTestSuite.t626 ................................................................................ Passed 0.09 sec Start 2280: SbmlTestSuite.t627 2280/3476 Test #2280: SbmlTestSuite.t627 ................................................................................ Passed 0.09 sec Start 2281: SbmlTestSuite.t628 2281/3476 Test #2281: SbmlTestSuite.t628 ................................................................................ Passed 0.02 sec Start 2282: SbmlTestSuite.t629 2282/3476 Test #2282: SbmlTestSuite.t629 ................................................................................ Passed 0.02 sec Start 2283: SbmlTestSuite.t630 2283/3476 Test #2283: SbmlTestSuite.t630 ................................................................................ Passed 0.02 sec Start 2284: SbmlTestSuite.t631 2284/3476 Test #2284: SbmlTestSuite.t631 ................................................................................ Passed 0.08 sec Start 2285: SbmlTestSuite.t632 2285/3476 Test #2285: SbmlTestSuite.t632 ................................................................................ Passed 0.08 sec Start 2286: SbmlTestSuite.t633 2286/3476 Test #2286: SbmlTestSuite.t633 ................................................................................ Passed 0.08 sec Start 2287: SbmlTestSuite.t634 2287/3476 Test #2287: SbmlTestSuite.t634 ................................................................................ Passed 0.09 sec Start 2288: SbmlTestSuite.t635 2288/3476 Test #2288: SbmlTestSuite.t635 ................................................................................ Passed 0.09 sec Start 2289: SbmlTestSuite.t636 2289/3476 Test #2289: SbmlTestSuite.t636 ................................................................................ Passed 0.09 sec Start 2290: SbmlTestSuite.t637 2290/3476 Test #2290: SbmlTestSuite.t637 ................................................................................ Passed 0.09 sec Start 2291: SbmlTestSuite.t638 2291/3476 Test #2291: SbmlTestSuite.t638 ................................................................................ Passed 0.09 sec Start 2292: SbmlTestSuite.t639 2292/3476 Test #2292: SbmlTestSuite.t639 ................................................................................ Passed 0.09 sec Start 2293: SbmlTestSuite.t640 2293/3476 Test #2293: SbmlTestSuite.t640 ................................................................................ Passed 0.09 sec Start 2294: SbmlTestSuite.t641 2294/3476 Test #2294: SbmlTestSuite.t641 ................................................................................ Passed 0.09 sec Start 2295: SbmlTestSuite.t642 2295/3476 Test #2295: SbmlTestSuite.t642 ................................................................................ Passed 0.09 sec Start 2296: SbmlTestSuite.t643 2296/3476 Test #2296: SbmlTestSuite.t643 ................................................................................ Passed 0.09 sec Start 2297: SbmlTestSuite.t644 2297/3476 Test #2297: SbmlTestSuite.t644 ................................................................................ Passed 0.10 sec Start 2298: SbmlTestSuite.t645 2298/3476 Test #2298: SbmlTestSuite.t645 ................................................................................ Passed 0.09 sec Start 2299: SbmlTestSuite.t646 2299/3476 Test #2299: SbmlTestSuite.t646 ................................................................................ Passed 0.09 sec Start 2300: SbmlTestSuite.t647 2300/3476 Test #2300: SbmlTestSuite.t647 ................................................................................ Passed 0.10 sec Start 2301: SbmlTestSuite.t648 2301/3476 Test #2301: SbmlTestSuite.t648 ................................................................................ Passed 0.09 sec Start 2302: SbmlTestSuite.t649 2302/3476 Test #2302: SbmlTestSuite.t649 ................................................................................ Passed 0.09 sec Start 2303: SbmlTestSuite.t650 2303/3476 Test #2303: SbmlTestSuite.t650 ................................................................................ Passed 0.09 sec Start 2304: SbmlTestSuite.t651 2304/3476 Test #2304: SbmlTestSuite.t651 ................................................................................ Passed 0.09 sec Start 2305: SbmlTestSuite.t652 2305/3476 Test #2305: SbmlTestSuite.t652 ................................................................................ Passed 0.10 sec Start 2306: SbmlTestSuite.t653 2306/3476 Test #2306: SbmlTestSuite.t653 ................................................................................ Passed 0.10 sec Start 2307: SbmlTestSuite.t654 2307/3476 Test #2307: SbmlTestSuite.t654 ................................................................................ Passed 0.10 sec Start 2308: SbmlTestSuite.t655 2308/3476 Test #2308: SbmlTestSuite.t655 ................................................................................ Passed 0.10 sec Start 2309: SbmlTestSuite.t656 2309/3476 Test #2309: SbmlTestSuite.t656 ................................................................................ Passed 0.10 sec Start 2310: SbmlTestSuite.t657 2310/3476 Test #2310: SbmlTestSuite.t657 ................................................................................ Passed 0.10 sec Start 2311: SbmlTestSuite.t658 2311/3476 Test #2311: SbmlTestSuite.t658 ................................................................................ Passed 0.02 sec Start 2312: SbmlTestSuite.t659 2312/3476 Test #2312: SbmlTestSuite.t659 ................................................................................ Passed 0.02 sec Start 2313: SbmlTestSuite.t660 2313/3476 Test #2313: SbmlTestSuite.t660 ................................................................................ Passed 0.02 sec Start 2314: SbmlTestSuite.t661 2314/3476 Test #2314: SbmlTestSuite.t661 ................................................................................ Passed 0.02 sec Start 2315: SbmlTestSuite.t662 2315/3476 Test #2315: SbmlTestSuite.t662 ................................................................................ Passed 0.02 sec Start 2316: SbmlTestSuite.t663 2316/3476 Test #2316: SbmlTestSuite.t663 ................................................................................ Passed 0.02 sec Start 2317: SbmlTestSuite.t664 2317/3476 Test #2317: SbmlTestSuite.t664 ................................................................................ Passed 0.02 sec Start 2318: SbmlTestSuite.t665 2318/3476 Test #2318: SbmlTestSuite.t665 ................................................................................ Passed 0.02 sec Start 2319: SbmlTestSuite.t666 2319/3476 Test #2319: SbmlTestSuite.t666 ................................................................................ Passed 0.02 sec Start 2320: SbmlTestSuite.t667 2320/3476 Test #2320: SbmlTestSuite.t667 ................................................................................ Passed 0.08 sec Start 2321: SbmlTestSuite.t668 2321/3476 Test #2321: SbmlTestSuite.t668 ................................................................................ Passed 0.09 sec Start 2322: SbmlTestSuite.t669 2322/3476 Test #2322: SbmlTestSuite.t669 ................................................................................ Passed 0.10 sec Start 2323: SbmlTestSuite.t670 2323/3476 Test #2323: SbmlTestSuite.t670 ................................................................................ Passed 0.09 sec Start 2324: SbmlTestSuite.t671 2324/3476 Test #2324: SbmlTestSuite.t671 ................................................................................ Passed 0.09 sec Start 2325: SbmlTestSuite.t672 2325/3476 Test #2325: SbmlTestSuite.t672 ................................................................................ Passed 0.09 sec Start 2326: SbmlTestSuite.t673 2326/3476 Test #2326: SbmlTestSuite.t673 ................................................................................ Passed 0.02 sec Start 2327: SbmlTestSuite.t674 2327/3476 Test #2327: SbmlTestSuite.t674 ................................................................................ Passed 0.02 sec Start 2328: SbmlTestSuite.t675 2328/3476 Test #2328: SbmlTestSuite.t675 ................................................................................ Passed 0.02 sec Start 2329: SbmlTestSuite.t676 2329/3476 Test #2329: SbmlTestSuite.t676 ................................................................................ Passed 0.07 sec Start 2330: SbmlTestSuite.t677 2330/3476 Test #2330: SbmlTestSuite.t677 ................................................................................ Passed 0.08 sec Start 2331: SbmlTestSuite.t678 2331/3476 Test #2331: SbmlTestSuite.t678 ................................................................................ Passed 0.08 sec Start 2332: SbmlTestSuite.t679 2332/3476 Test #2332: SbmlTestSuite.t679 ................................................................................ Passed 0.09 sec Start 2333: SbmlTestSuite.t680 2333/3476 Test #2333: SbmlTestSuite.t680 ................................................................................ Passed 0.09 sec Start 2334: SbmlTestSuite.t681 2334/3476 Test #2334: SbmlTestSuite.t681 ................................................................................ Passed 0.09 sec Start 2335: SbmlTestSuite.t682 2335/3476 Test #2335: SbmlTestSuite.t682 ................................................................................ Passed 0.09 sec Start 2336: SbmlTestSuite.t683 2336/3476 Test #2336: SbmlTestSuite.t683 ................................................................................ Passed 0.09 sec Start 2337: SbmlTestSuite.t684 2337/3476 Test #2337: SbmlTestSuite.t684 ................................................................................ Passed 0.09 sec Start 2338: SbmlTestSuite.t685 2338/3476 Test #2338: SbmlTestSuite.t685 ................................................................................ Passed 0.08 sec Start 2339: SbmlTestSuite.t686 2339/3476 Test #2339: SbmlTestSuite.t686 ................................................................................ Passed 0.09 sec Start 2340: SbmlTestSuite.t687 2340/3476 Test #2340: SbmlTestSuite.t687 ................................................................................ Passed 0.02 sec Start 2341: SbmlTestSuite.t688 2341/3476 Test #2341: SbmlTestSuite.t688 ................................................................................ Passed 0.08 sec Start 2342: SbmlTestSuite.t689 2342/3476 Test #2342: SbmlTestSuite.t689 ................................................................................ Passed 0.09 sec Start 2343: SbmlTestSuite.t690 2343/3476 Test #2343: SbmlTestSuite.t690 ................................................................................ Passed 0.09 sec Start 2344: SbmlTestSuite.t691 2344/3476 Test #2344: SbmlTestSuite.t691 ................................................................................ Passed 0.09 sec Start 2345: SbmlTestSuite.t692 2345/3476 Test #2345: SbmlTestSuite.t692 ................................................................................ Passed 0.08 sec Start 2346: SbmlTestSuite.t693 2346/3476 Test #2346: SbmlTestSuite.t693 ................................................................................ Passed 0.10 sec Start 2347: SbmlTestSuite.t694 2347/3476 Test #2347: SbmlTestSuite.t694 ................................................................................ Passed 0.10 sec Start 2348: SbmlTestSuite.t695 2348/3476 Test #2348: SbmlTestSuite.t695 ................................................................................ Passed 0.02 sec Start 2349: SbmlTestSuite.t696 2349/3476 Test #2349: SbmlTestSuite.t696 ................................................................................ Passed 0.02 sec Start 2350: SbmlTestSuite.t697 2350/3476 Test #2350: SbmlTestSuite.t697 ................................................................................ Passed 0.08 sec Start 2351: SbmlTestSuite.t698 2351/3476 Test #2351: SbmlTestSuite.t698 ................................................................................ Passed 0.08 sec Start 2352: SbmlTestSuite.t699 2352/3476 Test #2352: SbmlTestSuite.t699 ................................................................................ Passed 0.09 sec Start 2353: SbmlTestSuite.t700 2353/3476 Test #2353: SbmlTestSuite.t700 ................................................................................ Passed 0.09 sec Start 2354: SbmlTestSuite.t701 2354/3476 Test #2354: SbmlTestSuite.t701 ................................................................................ Passed 0.09 sec Start 2355: SbmlTestSuite.t702 2355/3476 Test #2355: SbmlTestSuite.t702 ................................................................................ Passed 0.09 sec Start 2356: SbmlTestSuite.t703 2356/3476 Test #2356: SbmlTestSuite.t703 ................................................................................ Passed 0.09 sec Start 2357: SbmlTestSuite.t704 2357/3476 Test #2357: SbmlTestSuite.t704 ................................................................................ Passed 0.09 sec Start 2358: SbmlTestSuite.t705 2358/3476 Test #2358: SbmlTestSuite.t705 ................................................................................ Passed 0.02 sec Start 2359: SbmlTestSuite.t706 2359/3476 Test #2359: SbmlTestSuite.t706 ................................................................................ Passed 0.08 sec Start 2360: SbmlTestSuite.t707 2360/3476 Test #2360: SbmlTestSuite.t707 ................................................................................ Passed 0.09 sec Start 2361: SbmlTestSuite.t708 2361/3476 Test #2361: SbmlTestSuite.t708 ................................................................................ Passed 0.09 sec Start 2362: SbmlTestSuite.t709 2362/3476 Test #2362: SbmlTestSuite.t709 ................................................................................ Passed 0.09 sec Start 2363: SbmlTestSuite.t710 2363/3476 Test #2363: SbmlTestSuite.t710 ................................................................................ Passed 0.08 sec Start 2364: SbmlTestSuite.t711 2364/3476 Test #2364: SbmlTestSuite.t711 ................................................................................ Passed 0.09 sec Start 2365: SbmlTestSuite.t712 2365/3476 Test #2365: SbmlTestSuite.t712 ................................................................................ Passed 0.08 sec Start 2366: SbmlTestSuite.t713 2366/3476 Test #2366: SbmlTestSuite.t713 ................................................................................ Passed 0.09 sec Start 2367: SbmlTestSuite.t714 2367/3476 Test #2367: SbmlTestSuite.t714 ................................................................................ Passed 0.09 sec Start 2368: SbmlTestSuite.t715 2368/3476 Test #2368: SbmlTestSuite.t715 ................................................................................ Passed 0.09 sec Start 2369: SbmlTestSuite.t716 2369/3476 Test #2369: SbmlTestSuite.t716 ................................................................................ Passed 0.09 sec Start 2370: SbmlTestSuite.t717 2370/3476 Test #2370: SbmlTestSuite.t717 ................................................................................ Passed 0.09 sec Start 2371: SbmlTestSuite.t718 2371/3476 Test #2371: SbmlTestSuite.t718 ................................................................................ Passed 0.09 sec Start 2372: SbmlTestSuite.t719 2372/3476 Test #2372: SbmlTestSuite.t719 ................................................................................ Passed 0.09 sec Start 2373: SbmlTestSuite.t720 2373/3476 Test #2373: SbmlTestSuite.t720 ................................................................................ Passed 0.09 sec Start 2374: SbmlTestSuite.t721 2374/3476 Test #2374: SbmlTestSuite.t721 ................................................................................ Passed 0.09 sec Start 2375: SbmlTestSuite.t722 2375/3476 Test #2375: SbmlTestSuite.t722 ................................................................................ Passed 0.09 sec Start 2376: SbmlTestSuite.t723 2376/3476 Test #2376: SbmlTestSuite.t723 ................................................................................ Passed 0.09 sec Start 2377: SbmlTestSuite.t724 2377/3476 Test #2377: SbmlTestSuite.t724 ................................................................................ Passed 0.10 sec Start 2378: SbmlTestSuite.t725 2378/3476 Test #2378: SbmlTestSuite.t725 ................................................................................ Passed 0.09 sec Start 2379: SbmlTestSuite.t726 2379/3476 Test #2379: SbmlTestSuite.t726 ................................................................................ Passed 0.09 sec Start 2380: SbmlTestSuite.t727 2380/3476 Test #2380: SbmlTestSuite.t727 ................................................................................ Passed 0.09 sec Start 2381: SbmlTestSuite.t728 2381/3476 Test #2381: SbmlTestSuite.t728 ................................................................................ Passed 0.09 sec Start 2382: SbmlTestSuite.t729 2382/3476 Test #2382: SbmlTestSuite.t729 ................................................................................ Passed 0.09 sec Start 2383: SbmlTestSuite.t730 2383/3476 Test #2383: SbmlTestSuite.t730 ................................................................................ Passed 0.10 sec Start 2384: SbmlTestSuite.t731 2384/3476 Test #2384: SbmlTestSuite.t731 ................................................................................ Passed 0.10 sec Start 2385: SbmlTestSuite.t732 2385/3476 Test #2385: SbmlTestSuite.t732 ................................................................................ Passed 0.09 sec Start 2386: SbmlTestSuite.t733 2386/3476 Test #2386: SbmlTestSuite.t733 ................................................................................ Passed 0.09 sec Start 2387: SbmlTestSuite.t734 2387/3476 Test #2387: SbmlTestSuite.t734 ................................................................................ Passed 0.09 sec Start 2388: SbmlTestSuite.t735 2388/3476 Test #2388: SbmlTestSuite.t735 ................................................................................ Passed 0.09 sec Start 2389: SbmlTestSuite.t736 2389/3476 Test #2389: SbmlTestSuite.t736 ................................................................................ Passed 0.09 sec Start 2390: SbmlTestSuite.t737 2390/3476 Test #2390: SbmlTestSuite.t737 ................................................................................ Passed 0.10 sec Start 2391: SbmlTestSuite.t738 2391/3476 Test #2391: SbmlTestSuite.t738 ................................................................................ Passed 0.09 sec Start 2392: SbmlTestSuite.t739 2392/3476 Test #2392: SbmlTestSuite.t739 ................................................................................ Passed 0.10 sec Start 2393: SbmlTestSuite.t740 2393/3476 Test #2393: SbmlTestSuite.t740 ................................................................................ Passed 0.09 sec Start 2394: SbmlTestSuite.t741 2394/3476 Test #2394: SbmlTestSuite.t741 ................................................................................ Passed 0.10 sec Start 2395: SbmlTestSuite.t742 2395/3476 Test #2395: SbmlTestSuite.t742 ................................................................................ Passed 0.09 sec Start 2396: SbmlTestSuite.t743 2396/3476 Test #2396: SbmlTestSuite.t743 ................................................................................ Passed 0.09 sec Start 2397: SbmlTestSuite.t744 2397/3476 Test #2397: SbmlTestSuite.t744 ................................................................................ Passed 0.10 sec Start 2398: SbmlTestSuite.t745 2398/3476 Test #2398: SbmlTestSuite.t745 ................................................................................ Passed 0.09 sec Start 2399: SbmlTestSuite.t746 2399/3476 Test #2399: SbmlTestSuite.t746 ................................................................................ Passed 0.10 sec Start 2400: SbmlTestSuite.t747 2400/3476 Test #2400: SbmlTestSuite.t747 ................................................................................ Passed 0.10 sec Start 2401: SbmlTestSuite.t748 2401/3476 Test #2401: SbmlTestSuite.t748 ................................................................................ Passed 0.10 sec Start 2402: SbmlTestSuite.t749 2402/3476 Test #2402: SbmlTestSuite.t749 ................................................................................ Passed 0.09 sec Start 2403: SbmlTestSuite.t750 2403/3476 Test #2403: SbmlTestSuite.t750 ................................................................................ Passed 0.09 sec Start 2404: SbmlTestSuite.t751 2404/3476 Test #2404: SbmlTestSuite.t751 ................................................................................ Passed 0.10 sec Start 2405: SbmlTestSuite.t752 2405/3476 Test #2405: SbmlTestSuite.t752 ................................................................................ Passed 0.10 sec Start 2406: SbmlTestSuite.t753 2406/3476 Test #2406: SbmlTestSuite.t753 ................................................................................ Passed 0.10 sec Start 2407: SbmlTestSuite.t754 2407/3476 Test #2407: SbmlTestSuite.t754 ................................................................................ Passed 0.10 sec Start 2408: SbmlTestSuite.t755 2408/3476 Test #2408: SbmlTestSuite.t755 ................................................................................ Passed 0.10 sec Start 2409: SbmlTestSuite.t756 2409/3476 Test #2409: SbmlTestSuite.t756 ................................................................................ Passed 0.10 sec Start 2410: SbmlTestSuite.t757 2410/3476 Test #2410: SbmlTestSuite.t757 ................................................................................ Passed 0.10 sec Start 2411: SbmlTestSuite.t758 2411/3476 Test #2411: SbmlTestSuite.t758 ................................................................................ Passed 0.10 sec Start 2412: SbmlTestSuite.t759 2412/3476 Test #2412: SbmlTestSuite.t759 ................................................................................ Passed 0.10 sec Start 2413: SbmlTestSuite.t760 2413/3476 Test #2413: SbmlTestSuite.t760 ................................................................................ Passed 0.03 sec Start 2414: SbmlTestSuite.t761 2414/3476 Test #2414: SbmlTestSuite.t761 ................................................................................ Passed 0.02 sec Start 2415: SbmlTestSuite.t762 2415/3476 Test #2415: SbmlTestSuite.t762 ................................................................................ Passed 0.03 sec Start 2416: SbmlTestSuite.t763 2416/3476 Test #2416: SbmlTestSuite.t763 ................................................................................ Passed 0.09 sec Start 2417: SbmlTestSuite.t764 2417/3476 Test #2417: SbmlTestSuite.t764 ................................................................................ Passed 0.10 sec Start 2418: SbmlTestSuite.t765 2418/3476 Test #2418: SbmlTestSuite.t765 ................................................................................ Passed 0.10 sec Start 2419: SbmlTestSuite.t766 2419/3476 Test #2419: SbmlTestSuite.t766 ................................................................................ Passed 0.10 sec Start 2420: SbmlTestSuite.t767 2420/3476 Test #2420: SbmlTestSuite.t767 ................................................................................ Passed 0.10 sec Start 2421: SbmlTestSuite.t768 2421/3476 Test #2421: SbmlTestSuite.t768 ................................................................................ Passed 0.10 sec Start 2422: SbmlTestSuite.t769 2422/3476 Test #2422: SbmlTestSuite.t769 ................................................................................ Passed 0.09 sec Start 2423: SbmlTestSuite.t770 2423/3476 Test #2423: SbmlTestSuite.t770 ................................................................................ Passed 0.09 sec Start 2424: SbmlTestSuite.t771 2424/3476 Test #2424: SbmlTestSuite.t771 ................................................................................ Passed 0.10 sec Start 2425: SbmlTestSuite.t772 2425/3476 Test #2425: SbmlTestSuite.t772 ................................................................................ Passed 0.10 sec Start 2426: SbmlTestSuite.t773 2426/3476 Test #2426: SbmlTestSuite.t773 ................................................................................ Passed 0.10 sec Start 2427: SbmlTestSuite.t774 2427/3476 Test #2427: SbmlTestSuite.t774 ................................................................................ Passed 0.10 sec Start 2428: SbmlTestSuite.t775 2428/3476 Test #2428: SbmlTestSuite.t775 ................................................................................ Passed 0.10 sec Start 2429: SbmlTestSuite.t776 2429/3476 Test #2429: SbmlTestSuite.t776 ................................................................................ Passed 0.10 sec Start 2430: SbmlTestSuite.t777 2430/3476 Test #2430: SbmlTestSuite.t777 ................................................................................ Passed 0.02 sec Start 2431: SbmlTestSuite.t778 2431/3476 Test #2431: SbmlTestSuite.t778 ................................................................................ Passed 0.02 sec Start 2432: SbmlTestSuite.t779 2432/3476 Test #2432: SbmlTestSuite.t779 ................................................................................ Passed 0.02 sec Start 2433: SbmlTestSuite.t780 2433/3476 Test #2433: SbmlTestSuite.t780 ................................................................................ Passed 0.02 sec Start 2434: SbmlTestSuite.t781 2434/3476 Test #2434: SbmlTestSuite.t781 ................................................................................ Passed 0.09 sec Start 2435: SbmlTestSuite.t782 2435/3476 Test #2435: SbmlTestSuite.t782 ................................................................................ Passed 0.09 sec Start 2436: SbmlTestSuite.t783 2436/3476 Test #2436: SbmlTestSuite.t783 ................................................................................ Passed 0.09 sec Start 2437: SbmlTestSuite.t784 2437/3476 Test #2437: SbmlTestSuite.t784 ................................................................................ Passed 0.09 sec Start 2438: SbmlTestSuite.t785 2438/3476 Test #2438: SbmlTestSuite.t785 ................................................................................ Passed 0.09 sec Start 2439: SbmlTestSuite.t786 2439/3476 Test #2439: SbmlTestSuite.t786 ................................................................................ Passed 0.09 sec Start 2440: SbmlTestSuite.t787 2440/3476 Test #2440: SbmlTestSuite.t787 ................................................................................ Passed 0.07 sec Start 2441: SbmlTestSuite.t788 2441/3476 Test #2441: SbmlTestSuite.t788 ................................................................................ Passed 0.08 sec Start 2442: SbmlTestSuite.t789 2442/3476 Test #2442: SbmlTestSuite.t789 ................................................................................ Passed 0.09 sec Start 2443: SbmlTestSuite.t790 2443/3476 Test #2443: SbmlTestSuite.t790 ................................................................................ Passed 0.10 sec Start 2444: SbmlTestSuite.t791 2444/3476 Test #2444: SbmlTestSuite.t791 ................................................................................ Passed 0.09 sec Start 2445: SbmlTestSuite.t792 2445/3476 Test #2445: SbmlTestSuite.t792 ................................................................................ Passed 0.08 sec Start 2446: SbmlTestSuite.t793 2446/3476 Test #2446: SbmlTestSuite.t793 ................................................................................ Passed 0.08 sec Start 2447: SbmlTestSuite.t794 2447/3476 Test #2447: SbmlTestSuite.t794 ................................................................................ Passed 0.09 sec Start 2448: SbmlTestSuite.t795 2448/3476 Test #2448: SbmlTestSuite.t795 ................................................................................ Passed 0.09 sec Start 2449: SbmlTestSuite.t796 2449/3476 Test #2449: SbmlTestSuite.t796 ................................................................................ Passed 0.09 sec Start 2450: SbmlTestSuite.t797 2450/3476 Test #2450: SbmlTestSuite.t797 ................................................................................ Passed 0.09 sec Start 2451: SbmlTestSuite.t798 2451/3476 Test #2451: SbmlTestSuite.t798 ................................................................................ Passed 0.09 sec Start 2452: SbmlTestSuite.t799 2452/3476 Test #2452: SbmlTestSuite.t799 ................................................................................ Passed 0.09 sec Start 2453: SbmlTestSuite.t800 2453/3476 Test #2453: SbmlTestSuite.t800 ................................................................................ Passed 0.09 sec Start 2454: SbmlTestSuite.t801 2454/3476 Test #2454: SbmlTestSuite.t801 ................................................................................ Passed 0.08 sec Start 2455: SbmlTestSuite.t802 2455/3476 Test #2455: SbmlTestSuite.t802 ................................................................................ Passed 0.08 sec Start 2456: SbmlTestSuite.t803 2456/3476 Test #2456: SbmlTestSuite.t803 ................................................................................ Passed 0.08 sec Start 2457: SbmlTestSuite.t804 2457/3476 Test #2457: SbmlTestSuite.t804 ................................................................................ Passed 0.08 sec Start 2458: SbmlTestSuite.t805 2458/3476 Test #2458: SbmlTestSuite.t805 ................................................................................ Passed 0.08 sec Start 2459: SbmlTestSuite.t806 2459/3476 Test #2459: SbmlTestSuite.t806 ................................................................................ Passed 0.08 sec Start 2460: SbmlTestSuite.t807 2460/3476 Test #2460: SbmlTestSuite.t807 ................................................................................ Passed 0.08 sec Start 2461: SbmlTestSuite.t808 2461/3476 Test #2461: SbmlTestSuite.t808 ................................................................................ Passed 0.09 sec Start 2462: SbmlTestSuite.t809 2462/3476 Test #2462: SbmlTestSuite.t809 ................................................................................ Passed 0.08 sec Start 2463: SbmlTestSuite.t810 2463/3476 Test #2463: SbmlTestSuite.t810 ................................................................................ Passed 0.09 sec Start 2464: SbmlTestSuite.t811 2464/3476 Test #2464: SbmlTestSuite.t811 ................................................................................ Passed 0.09 sec Start 2465: SbmlTestSuite.t812 2465/3476 Test #2465: SbmlTestSuite.t812 ................................................................................ Passed 0.08 sec Start 2466: SbmlTestSuite.t813 2466/3476 Test #2466: SbmlTestSuite.t813 ................................................................................ Passed 0.09 sec Start 2467: SbmlTestSuite.t814 2467/3476 Test #2467: SbmlTestSuite.t814 ................................................................................ Passed 0.09 sec Start 2468: SbmlTestSuite.t815 2468/3476 Test #2468: SbmlTestSuite.t815 ................................................................................ Passed 0.08 sec Start 2469: SbmlTestSuite.t816 2469/3476 Test #2469: SbmlTestSuite.t816 ................................................................................ Passed 0.09 sec Start 2470: SbmlTestSuite.t817 2470/3476 Test #2470: SbmlTestSuite.t817 ................................................................................ Passed 0.09 sec Start 2471: SbmlTestSuite.t818 2471/3476 Test #2471: SbmlTestSuite.t818 ................................................................................ Passed 0.08 sec Start 2472: SbmlTestSuite.t819 2472/3476 Test #2472: SbmlTestSuite.t819 ................................................................................ Passed 0.09 sec Start 2473: SbmlTestSuite.t820 2473/3476 Test #2473: SbmlTestSuite.t820 ................................................................................ Passed 0.09 sec Start 2474: SbmlTestSuite.t821 2474/3476 Test #2474: SbmlTestSuite.t821 ................................................................................ Passed 0.08 sec Start 2475: SbmlTestSuite.t822 2475/3476 Test #2475: SbmlTestSuite.t822 ................................................................................ Passed 0.09 sec Start 2476: SbmlTestSuite.t823 2476/3476 Test #2476: SbmlTestSuite.t823 ................................................................................ Passed 0.09 sec Start 2477: SbmlTestSuite.t824 2477/3476 Test #2477: SbmlTestSuite.t824 ................................................................................ Passed 0.08 sec Start 2478: SbmlTestSuite.t825 2478/3476 Test #2478: SbmlTestSuite.t825 ................................................................................ Passed 0.09 sec Start 2479: SbmlTestSuite.t826 2479/3476 Test #2479: SbmlTestSuite.t826 ................................................................................ Passed 0.08 sec Start 2480: SbmlTestSuite.t827 2480/3476 Test #2480: SbmlTestSuite.t827 ................................................................................ Passed 0.08 sec Start 2481: SbmlTestSuite.t828 2481/3476 Test #2481: SbmlTestSuite.t828 ................................................................................ Passed 0.09 sec Start 2482: SbmlTestSuite.t829 2482/3476 Test #2482: SbmlTestSuite.t829 ................................................................................ Passed 0.09 sec Start 2483: SbmlTestSuite.t830 2483/3476 Test #2483: SbmlTestSuite.t830 ................................................................................ Passed 0.09 sec Start 2484: SbmlTestSuite.t831 2484/3476 Test #2484: SbmlTestSuite.t831 ................................................................................ Passed 0.08 sec Start 2485: SbmlTestSuite.t832 2485/3476 Test #2485: SbmlTestSuite.t832 ................................................................................ Passed 0.08 sec Start 2486: SbmlTestSuite.t833 2486/3476 Test #2486: SbmlTestSuite.t833 ................................................................................ Passed 0.08 sec Start 2487: SbmlTestSuite.t834 2487/3476 Test #2487: SbmlTestSuite.t834 ................................................................................ Passed 0.09 sec Start 2488: SbmlTestSuite.t835 2488/3476 Test #2488: SbmlTestSuite.t835 ................................................................................ Passed 0.09 sec Start 2489: SbmlTestSuite.t836 2489/3476 Test #2489: SbmlTestSuite.t836 ................................................................................ Passed 0.09 sec Start 2490: SbmlTestSuite.t837 2490/3476 Test #2490: SbmlTestSuite.t837 ................................................................................ Passed 0.09 sec Start 2491: SbmlTestSuite.t838 2491/3476 Test #2491: SbmlTestSuite.t838 ................................................................................ Passed 0.08 sec Start 2492: SbmlTestSuite.t839 2492/3476 Test #2492: SbmlTestSuite.t839 ................................................................................ Passed 0.09 sec Start 2493: SbmlTestSuite.t840 2493/3476 Test #2493: SbmlTestSuite.t840 ................................................................................ Passed 0.09 sec Start 2494: SbmlTestSuite.t841 2494/3476 Test #2494: SbmlTestSuite.t841 ................................................................................ Passed 0.09 sec Start 2495: SbmlTestSuite.t842 2495/3476 Test #2495: SbmlTestSuite.t842 ................................................................................ Passed 0.09 sec Start 2496: SbmlTestSuite.t843 2496/3476 Test #2496: SbmlTestSuite.t843 ................................................................................ Passed 0.09 sec Start 2497: SbmlTestSuite.t844 2497/3476 Test #2497: SbmlTestSuite.t844 ................................................................................ Passed 0.02 sec Start 2498: SbmlTestSuite.t845 2498/3476 Test #2498: SbmlTestSuite.t845 ................................................................................ Passed 0.09 sec Start 2499: SbmlTestSuite.t846 2499/3476 Test #2499: SbmlTestSuite.t846 ................................................................................ Passed 0.10 sec Start 2500: SbmlTestSuite.t847 2500/3476 Test #2500: SbmlTestSuite.t847 ................................................................................ Passed 0.10 sec Start 2501: SbmlTestSuite.t848 2501/3476 Test #2501: SbmlTestSuite.t848 ................................................................................ Passed 0.08 sec Start 2502: SbmlTestSuite.t849 2502/3476 Test #2502: SbmlTestSuite.t849 ................................................................................ Passed 0.10 sec Start 2503: SbmlTestSuite.t850 2503/3476 Test #2503: SbmlTestSuite.t850 ................................................................................ Passed 0.10 sec Start 2504: SbmlTestSuite.t851 2504/3476 Test #2504: SbmlTestSuite.t851 ................................................................................ Passed 0.08 sec Start 2505: SbmlTestSuite.t852 2505/3476 Test #2505: SbmlTestSuite.t852 ................................................................................ Passed 0.09 sec Start 2506: SbmlTestSuite.t853 2506/3476 Test #2506: SbmlTestSuite.t853 ................................................................................ Passed 0.09 sec Start 2507: SbmlTestSuite.t854 2507/3476 Test #2507: SbmlTestSuite.t854 ................................................................................ Passed 0.08 sec Start 2508: SbmlTestSuite.t855 2508/3476 Test #2508: SbmlTestSuite.t855 ................................................................................ Passed 0.09 sec Start 2509: SbmlTestSuite.t856 2509/3476 Test #2509: SbmlTestSuite.t856 ................................................................................ Passed 0.09 sec Start 2510: SbmlTestSuite.t857 2510/3476 Test #2510: SbmlTestSuite.t857 ................................................................................ Passed 0.08 sec Start 2511: SbmlTestSuite.t858 2511/3476 Test #2511: SbmlTestSuite.t858 ................................................................................ Passed 0.09 sec Start 2512: SbmlTestSuite.t859 2512/3476 Test #2512: SbmlTestSuite.t859 ................................................................................ Passed 0.09 sec Start 2513: SbmlTestSuite.t860 2513/3476 Test #2513: SbmlTestSuite.t860 ................................................................................ Passed 0.08 sec Start 2514: SbmlTestSuite.t861 2514/3476 Test #2514: SbmlTestSuite.t861 ................................................................................ Passed 0.09 sec Start 2515: SbmlTestSuite.t862 2515/3476 Test #2515: SbmlTestSuite.t862 ................................................................................ Passed 0.09 sec Start 2516: SbmlTestSuite.t863 2516/3476 Test #2516: SbmlTestSuite.t863 ................................................................................ Passed 0.08 sec Start 2517: SbmlTestSuite.t864 2517/3476 Test #2517: SbmlTestSuite.t864 ................................................................................ Passed 0.10 sec Start 2518: SbmlTestSuite.t865 2518/3476 Test #2518: SbmlTestSuite.t865 ................................................................................ Passed 0.10 sec Start 2519: SbmlTestSuite.t866 2519/3476 Test #2519: SbmlTestSuite.t866 ................................................................................ Passed 0.08 sec Start 2520: SbmlTestSuite.t867 2520/3476 Test #2520: SbmlTestSuite.t867 ................................................................................ Passed 0.10 sec Start 2521: SbmlTestSuite.t868 2521/3476 Test #2521: SbmlTestSuite.t868 ................................................................................ Passed 0.10 sec Start 2522: SbmlTestSuite.t869 2522/3476 Test #2522: SbmlTestSuite.t869 ................................................................................ Passed 0.10 sec Start 2523: SbmlTestSuite.t870 2523/3476 Test #2523: SbmlTestSuite.t870 ................................................................................ Passed 0.02 sec Start 2524: SbmlTestSuite.t871 2524/3476 Test #2524: SbmlTestSuite.t871 ................................................................................ Passed 0.02 sec Start 2525: SbmlTestSuite.t872 2525/3476 Test #2525: SbmlTestSuite.t872 ................................................................................ Passed 0.02 sec Start 2526: SbmlTestSuite.t873 2526/3476 Test #2526: SbmlTestSuite.t873 ................................................................................ Passed 0.02 sec Start 2527: SbmlTestSuite.t874 2527/3476 Test #2527: SbmlTestSuite.t874 ................................................................................ Passed 0.02 sec Start 2528: SbmlTestSuite.t875 2528/3476 Test #2528: SbmlTestSuite.t875 ................................................................................ Passed 0.02 sec Start 2529: SbmlTestSuite.t876 2529/3476 Test #2529: SbmlTestSuite.t876 ................................................................................ Passed 0.02 sec Start 2530: SbmlTestSuite.t877 2530/3476 Test #2530: SbmlTestSuite.t877 ................................................................................ Passed 0.08 sec Start 2531: SbmlTestSuite.t878 2531/3476 Test #2531: SbmlTestSuite.t878 ................................................................................ Passed 0.08 sec Start 2532: SbmlTestSuite.t879 2532/3476 Test #2532: SbmlTestSuite.t879 ................................................................................ Passed 0.10 sec Start 2533: SbmlTestSuite.t880 2533/3476 Test #2533: SbmlTestSuite.t880 ................................................................................ Passed 0.08 sec Start 2534: SbmlTestSuite.t881 2534/3476 Test #2534: SbmlTestSuite.t881 ................................................................................ Passed 0.08 sec Start 2535: SbmlTestSuite.t882 2535/3476 Test #2535: SbmlTestSuite.t882 ................................................................................ Passed 0.10 sec Start 2536: SbmlTestSuite.t883 2536/3476 Test #2536: SbmlTestSuite.t883 ................................................................................ Passed 0.09 sec Start 2537: SbmlTestSuite.t884 2537/3476 Test #2537: SbmlTestSuite.t884 ................................................................................ Passed 0.10 sec Start 2538: SbmlTestSuite.t885 2538/3476 Test #2538: SbmlTestSuite.t885 ................................................................................ Passed 0.10 sec Start 2539: SbmlTestSuite.t886 2539/3476 Test #2539: SbmlTestSuite.t886 ................................................................................ Passed 0.10 sec Start 2540: SbmlTestSuite.t887 2540/3476 Test #2540: SbmlTestSuite.t887 ................................................................................ Passed 0.10 sec Start 2541: SbmlTestSuite.t888 2541/3476 Test #2541: SbmlTestSuite.t888 ................................................................................ Passed 0.09 sec Start 2542: SbmlTestSuite.t889 2542/3476 Test #2542: SbmlTestSuite.t889 ................................................................................ Passed 0.10 sec Start 2543: SbmlTestSuite.t890 2543/3476 Test #2543: SbmlTestSuite.t890 ................................................................................ Passed 0.09 sec Start 2544: SbmlTestSuite.t891 2544/3476 Test #2544: SbmlTestSuite.t891 ................................................................................ Passed 0.07 sec Start 2545: SbmlTestSuite.t892 2545/3476 Test #2545: SbmlTestSuite.t892 ................................................................................ Passed 0.07 sec Start 2546: SbmlTestSuite.t893 2546/3476 Test #2546: SbmlTestSuite.t893 ................................................................................ Passed 0.07 sec Start 2547: SbmlTestSuite.t894 2547/3476 Test #2547: SbmlTestSuite.t894 ................................................................................ Passed 0.08 sec Start 2548: SbmlTestSuite.t895 2548/3476 Test #2548: SbmlTestSuite.t895 ................................................................................ Passed 0.09 sec Start 2549: SbmlTestSuite.t896 2549/3476 Test #2549: SbmlTestSuite.t896 ................................................................................ Passed 0.09 sec Start 2550: SbmlTestSuite.t897 2550/3476 Test #2550: SbmlTestSuite.t897 ................................................................................ Passed 0.09 sec Start 2551: SbmlTestSuite.t898 2551/3476 Test #2551: SbmlTestSuite.t898 ................................................................................ Passed 0.08 sec Start 2552: SbmlTestSuite.t899 2552/3476 Test #2552: SbmlTestSuite.t899 ................................................................................ Passed 0.09 sec Start 2553: SbmlTestSuite.t900 2553/3476 Test #2553: SbmlTestSuite.t900 ................................................................................ Passed 0.10 sec Start 2554: SbmlTestSuite.t901 2554/3476 Test #2554: SbmlTestSuite.t901 ................................................................................ Passed 0.06 sec Start 2555: SbmlTestSuite.t902 2555/3476 Test #2555: SbmlTestSuite.t902 ................................................................................ Passed 0.06 sec Start 2556: SbmlTestSuite.t903 2556/3476 Test #2556: SbmlTestSuite.t903 ................................................................................ Passed 0.06 sec Start 2557: SbmlTestSuite.t904 2557/3476 Test #2557: SbmlTestSuite.t904 ................................................................................ Passed 0.06 sec Start 2558: SbmlTestSuite.t905 2558/3476 Test #2558: SbmlTestSuite.t905 ................................................................................ Passed 0.06 sec Start 2559: SbmlTestSuite.t906 2559/3476 Test #2559: SbmlTestSuite.t906 ................................................................................ Passed 0.07 sec Start 2560: SbmlTestSuite.t907 2560/3476 Test #2560: SbmlTestSuite.t907 ................................................................................ Passed 0.07 sec Start 2561: SbmlTestSuite.t908 2561/3476 Test #2561: SbmlTestSuite.t908 ................................................................................ Passed 0.06 sec Start 2562: SbmlTestSuite.t909 2562/3476 Test #2562: SbmlTestSuite.t909 ................................................................................ Passed 0.07 sec Start 2563: SbmlTestSuite.t910 2563/3476 Test #2563: SbmlTestSuite.t910 ................................................................................ Passed 0.07 sec Start 2564: SbmlTestSuite.t911 2564/3476 Test #2564: SbmlTestSuite.t911 ................................................................................ Passed 0.06 sec Start 2565: SbmlTestSuite.t912 2565/3476 Test #2565: SbmlTestSuite.t912 ................................................................................ Passed 0.06 sec Start 2566: SbmlTestSuite.t913 2566/3476 Test #2566: SbmlTestSuite.t913 ................................................................................ Passed 0.06 sec Start 2567: SbmlTestSuite.t914 2567/3476 Test #2567: SbmlTestSuite.t914 ................................................................................ Passed 0.06 sec Start 2568: SbmlTestSuite.t915 2568/3476 Test #2568: SbmlTestSuite.t915 ................................................................................ Passed 0.06 sec Start 2569: SbmlTestSuite.t916 2569/3476 Test #2569: SbmlTestSuite.t916 ................................................................................ Passed 0.06 sec Start 2570: SbmlTestSuite.t917 2570/3476 Test #2570: SbmlTestSuite.t917 ................................................................................ Passed 0.06 sec Start 2571: SbmlTestSuite.t918 2571/3476 Test #2571: SbmlTestSuite.t918 ................................................................................ Passed 0.06 sec Start 2572: SbmlTestSuite.t919 2572/3476 Test #2572: SbmlTestSuite.t919 ................................................................................ Passed 0.06 sec Start 2573: SbmlTestSuite.t920 2573/3476 Test #2573: SbmlTestSuite.t920 ................................................................................ Passed 0.06 sec Start 2574: SbmlTestSuite.t921 2574/3476 Test #2574: SbmlTestSuite.t921 ................................................................................ Passed 0.06 sec Start 2575: SbmlTestSuite.t922 2575/3476 Test #2575: SbmlTestSuite.t922 ................................................................................ Passed 0.06 sec Start 2576: SbmlTestSuite.t923 2576/3476 Test #2576: SbmlTestSuite.t923 ................................................................................ Passed 0.06 sec Start 2577: SbmlTestSuite.t924 2577/3476 Test #2577: SbmlTestSuite.t924 ................................................................................ Passed 0.06 sec Start 2578: SbmlTestSuite.t925 2578/3476 Test #2578: SbmlTestSuite.t925 ................................................................................ Passed 0.06 sec Start 2579: SbmlTestSuite.t926 2579/3476 Test #2579: SbmlTestSuite.t926 ................................................................................ Passed 0.07 sec Start 2580: SbmlTestSuite.t927 2580/3476 Test #2580: SbmlTestSuite.t927 ................................................................................ Passed 0.07 sec Start 2581: SbmlTestSuite.t928 2581/3476 Test #2581: SbmlTestSuite.t928 ................................................................................ Passed 0.08 sec Start 2582: SbmlTestSuite.t929 2582/3476 Test #2582: SbmlTestSuite.t929 ................................................................................ Passed 0.08 sec Start 2583: SbmlTestSuite.t930 2583/3476 Test #2583: SbmlTestSuite.t930 ................................................................................ Passed 0.08 sec Start 2584: SbmlTestSuite.t931 2584/3476 Test #2584: SbmlTestSuite.t931 ................................................................................ Passed 0.08 sec Start 2585: SbmlTestSuite.t932 2585/3476 Test #2585: SbmlTestSuite.t932 ................................................................................ Passed 0.09 sec Start 2586: SbmlTestSuite.t933 2586/3476 Test #2586: SbmlTestSuite.t933 ................................................................................ Passed 0.09 sec Start 2587: SbmlTestSuite.t934 2587/3476 Test #2587: SbmlTestSuite.t934 ................................................................................ Passed 0.08 sec Start 2588: SbmlTestSuite.t935 2588/3476 Test #2588: SbmlTestSuite.t935 ................................................................................ Passed 0.08 sec Start 2589: SbmlTestSuite.t936 2589/3476 Test #2589: SbmlTestSuite.t936 ................................................................................ Passed 0.08 sec Start 2590: SbmlTestSuite.t937 2590/3476 Test #2590: SbmlTestSuite.t937 ................................................................................ Passed 0.02 sec Start 2591: SbmlTestSuite.t938 2591/3476 Test #2591: SbmlTestSuite.t938 ................................................................................ Passed 0.02 sec Start 2592: SbmlTestSuite.t939 2592/3476 Test #2592: SbmlTestSuite.t939 ................................................................................ Passed 0.02 sec Start 2593: SbmlTestSuite.t940 2593/3476 Test #2593: SbmlTestSuite.t940 ................................................................................ Passed 0.02 sec Start 2594: SbmlTestSuite.t941 2594/3476 Test #2594: SbmlTestSuite.t941 ................................................................................ Passed 0.02 sec Start 2595: SbmlTestSuite.t942 2595/3476 Test #2595: SbmlTestSuite.t942 ................................................................................ Passed 0.02 sec Start 2596: SbmlTestSuite.t943 2596/3476 Test #2596: SbmlTestSuite.t943 ................................................................................ Passed 0.02 sec Start 2597: SbmlTestSuite.t944 2597/3476 Test #2597: SbmlTestSuite.t944 ................................................................................ Passed 0.08 sec Start 2598: SbmlTestSuite.t945 2598/3476 Test #2598: SbmlTestSuite.t945 ................................................................................ Passed 0.08 sec Start 2599: SbmlTestSuite.t946 2599/3476 Test #2599: SbmlTestSuite.t946 ................................................................................ Passed 0.08 sec Start 2600: SbmlTestSuite.t947 2600/3476 Test #2600: SbmlTestSuite.t947 ................................................................................ Passed 0.08 sec Start 2601: SbmlTestSuite.t948 2601/3476 Test #2601: SbmlTestSuite.t948 ................................................................................ Passed 0.08 sec Start 2602: SbmlTestSuite.t949 2602/3476 Test #2602: SbmlTestSuite.t949 ................................................................................ Passed 0.06 sec Start 2603: SbmlTestSuite.t950 2603/3476 Test #2603: SbmlTestSuite.t950 ................................................................................ Passed 0.06 sec Start 2604: SbmlTestSuite.t951 2604/3476 Test #2604: SbmlTestSuite.t951 ................................................................................ Passed 0.06 sec Start 2605: SbmlTestSuite.t952 2605/3476 Test #2605: SbmlTestSuite.t952 ................................................................................ Passed 0.15 sec Start 2606: SbmlTestSuite.t953 2606/3476 Test #2606: SbmlTestSuite.t953 ................................................................................ Passed 0.14 sec Start 2607: SbmlTestSuite.t954 2607/3476 Test #2607: SbmlTestSuite.t954 ................................................................................ Passed 0.09 sec Start 2608: SbmlTestSuite.t955 2608/3476 Test #2608: SbmlTestSuite.t955 ................................................................................ Passed 0.08 sec Start 2609: SbmlTestSuite.t956 2609/3476 Test #2609: SbmlTestSuite.t956 ................................................................................ Passed 0.09 sec Start 2610: SbmlTestSuite.t957 2610/3476 Test #2610: SbmlTestSuite.t957 ................................................................................ Passed 0.07 sec Start 2611: SbmlTestSuite.t958 2611/3476 Test #2611: SbmlTestSuite.t958 ................................................................................ Passed 0.08 sec Start 2612: SbmlTestSuite.t959 2612/3476 Test #2612: SbmlTestSuite.t959 ................................................................................ Passed 0.08 sec Start 2613: SbmlTestSuite.t960 2613/3476 Test #2613: SbmlTestSuite.t960 ................................................................................ Passed 0.06 sec Start 2614: SbmlTestSuite.t961 2614/3476 Test #2614: SbmlTestSuite.t961 ................................................................................ Passed 0.05 sec Start 2615: SbmlTestSuite.t962 2615/3476 Test #2615: SbmlTestSuite.t962 ................................................................................ Passed 0.15 sec Start 2616: SbmlTestSuite.t963 2616/3476 Test #2616: SbmlTestSuite.t963 ................................................................................ Passed 0.09 sec Start 2617: SbmlTestSuite.t964 2617/3476 Test #2617: SbmlTestSuite.t964 ................................................................................ Passed 0.16 sec Start 2618: SbmlTestSuite.t965 2618/3476 Test #2618: SbmlTestSuite.t965 ................................................................................ Passed 0.16 sec Start 2619: SbmlTestSuite.t966 2619/3476 Test #2619: SbmlTestSuite.t966 ................................................................................ Passed 1.60 sec Start 2620: SbmlTestSuite.t967 2620/3476 Test #2620: SbmlTestSuite.t967 ................................................................................ Passed 0.07 sec Start 2621: SbmlTestSuite.t968 2621/3476 Test #2621: SbmlTestSuite.t968 ................................................................................ Passed 0.07 sec Start 2622: SbmlTestSuite.t969 2622/3476 Test #2622: SbmlTestSuite.t969 ................................................................................ Passed 0.07 sec Start 2623: SbmlTestSuite.t970 2623/3476 Test #2623: SbmlTestSuite.t970 ................................................................................ Passed 0.07 sec Start 2624: SbmlTestSuite.t971 2624/3476 Test #2624: SbmlTestSuite.t971 ................................................................................ Passed 0.07 sec Start 2625: SbmlTestSuite.t972 2625/3476 Test #2625: SbmlTestSuite.t972 ................................................................................ Passed 0.08 sec Start 2626: SbmlTestSuite.t973 2626/3476 Test #2626: SbmlTestSuite.t973 ................................................................................ Passed 0.08 sec Start 2627: SbmlTestSuite.t974 2627/3476 Test #2627: SbmlTestSuite.t974 ................................................................................ Passed 0.08 sec Start 2628: SbmlTestSuite.t975 2628/3476 Test #2628: SbmlTestSuite.t975 ................................................................................ Passed 0.09 sec Start 2629: SbmlTestSuite.t976 2629/3476 Test #2629: SbmlTestSuite.t976 ................................................................................ Passed 0.09 sec Start 2630: SbmlTestSuite.t977 2630/3476 Test #2630: SbmlTestSuite.t977 ................................................................................ Passed 0.09 sec Start 2631: SbmlTestSuite.t978 2631/3476 Test #2631: SbmlTestSuite.t978 ................................................................................ Passed 0.07 sec Start 2632: SbmlTestSuite.t979 2632/3476 Test #2632: SbmlTestSuite.t979 ................................................................................ Passed 0.07 sec Start 2633: SbmlTestSuite.t980 2633/3476 Test #2633: SbmlTestSuite.t980 ................................................................................ Passed 0.07 sec Start 2634: SbmlTestSuite.t981 2634/3476 Test #2634: SbmlTestSuite.t981 ................................................................................ Passed 0.02 sec Start 2635: SbmlTestSuite.t982 2635/3476 Test #2635: SbmlTestSuite.t982 ................................................................................ Passed 0.02 sec Start 2636: SbmlTestSuite.t983 2636/3476 Test #2636: SbmlTestSuite.t983 ................................................................................ Passed 0.02 sec Start 2637: SbmlTestSuite.t984 2637/3476 Test #2637: SbmlTestSuite.t984 ................................................................................ Passed 0.02 sec Start 2638: SbmlTestSuite.t985 2638/3476 Test #2638: SbmlTestSuite.t985 ................................................................................ Passed 0.02 sec Start 2639: SbmlTestSuite.t986 2639/3476 Test #2639: SbmlTestSuite.t986 ................................................................................ Passed 0.02 sec Start 2640: SbmlTestSuite.t987 2640/3476 Test #2640: SbmlTestSuite.t987 ................................................................................ Passed 0.02 sec Start 2641: SbmlTestSuite.t988 2641/3476 Test #2641: SbmlTestSuite.t988 ................................................................................ Passed 0.02 sec Start 2642: SbmlTestSuite.t989 2642/3476 Test #2642: SbmlTestSuite.t989 ................................................................................ Passed 0.08 sec Start 2643: SbmlTestSuite.t990 2643/3476 Test #2643: SbmlTestSuite.t990 ................................................................................ Passed 0.08 sec Start 2644: SbmlTestSuite.t991 2644/3476 Test #2644: SbmlTestSuite.t991 ................................................................................ Passed 0.08 sec Start 2645: SbmlTestSuite.t992 2645/3476 Test #2645: SbmlTestSuite.t992 ................................................................................ Passed 0.08 sec Start 2646: SbmlTestSuite.t993 2646/3476 Test #2646: SbmlTestSuite.t993 ................................................................................ Passed 0.02 sec Start 2647: SbmlTestSuite.t994 2647/3476 Test #2647: SbmlTestSuite.t994 ................................................................................ Passed 0.07 sec Start 2648: SbmlTestSuite.t995 2648/3476 Test #2648: SbmlTestSuite.t995 ................................................................................ Passed 0.07 sec Start 2649: SbmlTestSuite.t996 2649/3476 Test #2649: SbmlTestSuite.t996 ................................................................................ Passed 0.07 sec Start 2650: SbmlTestSuite.t997 2650/3476 Test #2650: SbmlTestSuite.t997 ................................................................................ Passed 0.07 sec Start 2651: SbmlTestSuite.t998 2651/3476 Test #2651: SbmlTestSuite.t998 ................................................................................ Passed 0.07 sec Start 2652: SbmlTestSuite.t999 2652/3476 Test #2652: SbmlTestSuite.t999 ................................................................................ Passed 0.10 sec Start 2653: SbmlTestSuite.t1000 2653/3476 Test #2653: SbmlTestSuite.t1000 ............................................................................... Passed 0.16 sec Start 2654: SbmlTestSuite.t1001 2654/3476 Test #2654: SbmlTestSuite.t1001 ............................................................................... Passed 0.08 sec Start 2655: SbmlTestSuite.t1002 2655/3476 Test #2655: SbmlTestSuite.t1002 ............................................................................... Passed 0.08 sec Start 2656: SbmlTestSuite.t1003 2656/3476 Test #2656: SbmlTestSuite.t1003 ............................................................................... Passed 0.09 sec Start 2657: SbmlTestSuite.t1004 2657/3476 Test #2657: SbmlTestSuite.t1004 ............................................................................... Passed 0.08 sec Start 2658: SbmlTestSuite.t1005 2658/3476 Test #2658: SbmlTestSuite.t1005 ............................................................................... Passed 0.08 sec Start 2659: SbmlTestSuite.t1006 2659/3476 Test #2659: SbmlTestSuite.t1006 ............................................................................... Passed 0.09 sec Start 2660: SbmlTestSuite.t1007 2660/3476 Test #2660: SbmlTestSuite.t1007 ............................................................................... Passed 0.08 sec Start 2661: SbmlTestSuite.t1008 2661/3476 Test #2661: SbmlTestSuite.t1008 ............................................................................... Passed 0.09 sec Start 2662: SbmlTestSuite.t1009 2662/3476 Test #2662: SbmlTestSuite.t1009 ............................................................................... Passed 0.08 sec Start 2663: SbmlTestSuite.t1010 2663/3476 Test #2663: SbmlTestSuite.t1010 ............................................................................... Passed 0.09 sec Start 2664: SbmlTestSuite.t1011 2664/3476 Test #2664: SbmlTestSuite.t1011 ............................................................................... Passed 0.08 sec Start 2665: SbmlTestSuite.t1012 2665/3476 Test #2665: SbmlTestSuite.t1012 ............................................................................... Passed 0.09 sec Start 2666: SbmlTestSuite.t1013 2666/3476 Test #2666: SbmlTestSuite.t1013 ............................................................................... Passed 0.09 sec Start 2667: SbmlTestSuite.t1014 2667/3476 Test #2667: SbmlTestSuite.t1014 ............................................................................... Passed 0.08 sec Start 2668: SbmlTestSuite.t1015 2668/3476 Test #2668: SbmlTestSuite.t1015 ............................................................................... Passed 0.09 sec Start 2669: SbmlTestSuite.t1016 2669/3476 Test #2669: SbmlTestSuite.t1016 ............................................................................... Passed 0.08 sec Start 2670: SbmlTestSuite.t1017 2670/3476 Test #2670: SbmlTestSuite.t1017 ............................................................................... Passed 0.09 sec Start 2671: SbmlTestSuite.t1018 2671/3476 Test #2671: SbmlTestSuite.t1018 ............................................................................... Passed 0.08 sec Start 2672: SbmlTestSuite.t1019 2672/3476 Test #2672: SbmlTestSuite.t1019 ............................................................................... Passed 0.09 sec Start 2673: SbmlTestSuite.t1020 2673/3476 Test #2673: SbmlTestSuite.t1020 ............................................................................... Passed 0.09 sec Start 2674: SbmlTestSuite.t1021 2674/3476 Test #2674: SbmlTestSuite.t1021 ............................................................................... Passed 0.08 sec Start 2675: SbmlTestSuite.t1022 2675/3476 Test #2675: SbmlTestSuite.t1022 ............................................................................... Passed 0.09 sec Start 2676: SbmlTestSuite.t1023 2676/3476 Test #2676: SbmlTestSuite.t1023 ............................................................................... Passed 0.09 sec Start 2677: SbmlTestSuite.t1024 2677/3476 Test #2677: SbmlTestSuite.t1024 ............................................................................... Passed 0.08 sec Start 2678: SbmlTestSuite.t1025 2678/3476 Test #2678: SbmlTestSuite.t1025 ............................................................................... Passed 0.09 sec Start 2679: SbmlTestSuite.t1026 2679/3476 Test #2679: SbmlTestSuite.t1026 ............................................................................... Passed 0.08 sec Start 2680: SbmlTestSuite.t1027 2680/3476 Test #2680: SbmlTestSuite.t1027 ............................................................................... Passed 0.08 sec Start 2681: SbmlTestSuite.t1028 2681/3476 Test #2681: SbmlTestSuite.t1028 ............................................................................... Passed 0.09 sec Start 2682: SbmlTestSuite.t1029 2682/3476 Test #2682: SbmlTestSuite.t1029 ............................................................................... Passed 0.09 sec Start 2683: SbmlTestSuite.t1030 2683/3476 Test #2683: SbmlTestSuite.t1030 ............................................................................... Passed 0.09 sec Start 2684: SbmlTestSuite.t1031 2684/3476 Test #2684: SbmlTestSuite.t1031 ............................................................................... Passed 0.08 sec Start 2685: SbmlTestSuite.t1032 2685/3476 Test #2685: SbmlTestSuite.t1032 ............................................................................... Passed 0.08 sec Start 2686: SbmlTestSuite.t1033 2686/3476 Test #2686: SbmlTestSuite.t1033 ............................................................................... Passed 0.09 sec Start 2687: SbmlTestSuite.t1034 2687/3476 Test #2687: SbmlTestSuite.t1034 ............................................................................... Passed 0.09 sec Start 2688: SbmlTestSuite.t1035 2688/3476 Test #2688: SbmlTestSuite.t1035 ............................................................................... Passed 0.09 sec Start 2689: SbmlTestSuite.t1036 2689/3476 Test #2689: SbmlTestSuite.t1036 ............................................................................... Passed 0.09 sec Start 2690: SbmlTestSuite.t1037 2690/3476 Test #2690: SbmlTestSuite.t1037 ............................................................................... Passed 0.09 sec Start 2691: SbmlTestSuite.t1038 2691/3476 Test #2691: SbmlTestSuite.t1038 ............................................................................... Passed 0.08 sec Start 2692: SbmlTestSuite.t1039 2692/3476 Test #2692: SbmlTestSuite.t1039 ............................................................................... Passed 0.09 sec Start 2693: SbmlTestSuite.t1040 2693/3476 Test #2693: SbmlTestSuite.t1040 ............................................................................... Passed 0.09 sec Start 2694: SbmlTestSuite.t1041 2694/3476 Test #2694: SbmlTestSuite.t1041 ............................................................................... Passed 0.09 sec Start 2695: SbmlTestSuite.t1042 2695/3476 Test #2695: SbmlTestSuite.t1042 ............................................................................... Passed 0.09 sec Start 2696: SbmlTestSuite.t1043 2696/3476 Test #2696: SbmlTestSuite.t1043 ............................................................................... Passed 0.09 sec Start 2697: SbmlTestSuite.t1044 2697/3476 Test #2697: SbmlTestSuite.t1044 ............................................................................... Passed 0.02 sec Start 2698: SbmlTestSuite.t1045 2698/3476 Test #2698: SbmlTestSuite.t1045 ............................................................................... Passed 0.09 sec Start 2699: SbmlTestSuite.t1046 2699/3476 Test #2699: SbmlTestSuite.t1046 ............................................................................... Passed 0.10 sec Start 2700: SbmlTestSuite.t1047 2700/3476 Test #2700: SbmlTestSuite.t1047 ............................................................................... Passed 0.10 sec Start 2701: SbmlTestSuite.t1048 2701/3476 Test #2701: SbmlTestSuite.t1048 ............................................................................... Passed 0.09 sec Start 2702: SbmlTestSuite.t1049 2702/3476 Test #2702: SbmlTestSuite.t1049 ............................................................................... Passed 0.10 sec Start 2703: SbmlTestSuite.t1050 2703/3476 Test #2703: SbmlTestSuite.t1050 ............................................................................... Passed 0.10 sec Start 2704: SbmlTestSuite.t1051 2704/3476 Test #2704: SbmlTestSuite.t1051 ............................................................................... Passed 0.02 sec Start 2705: SbmlTestSuite.t1052 2705/3476 Test #2705: SbmlTestSuite.t1052 ............................................................................... Passed 0.02 sec Start 2706: SbmlTestSuite.t1053 2706/3476 Test #2706: SbmlTestSuite.t1053 ............................................................................... Passed 0.02 sec Start 2707: SbmlTestSuite.t1054 2707/3476 Test #2707: SbmlTestSuite.t1054 ............................................................................... Passed 0.02 sec Start 2708: SbmlTestSuite.t1055 2708/3476 Test #2708: SbmlTestSuite.t1055 ............................................................................... Passed 0.08 sec Start 2709: SbmlTestSuite.t1056 2709/3476 Test #2709: SbmlTestSuite.t1056 ............................................................................... Passed 0.09 sec Start 2710: SbmlTestSuite.t1057 2710/3476 Test #2710: SbmlTestSuite.t1057 ............................................................................... Passed 0.09 sec Start 2711: SbmlTestSuite.t1058 2711/3476 Test #2711: SbmlTestSuite.t1058 ............................................................................... Passed 0.08 sec Start 2712: SbmlTestSuite.t1059 2712/3476 Test #2712: SbmlTestSuite.t1059 ............................................................................... Passed 0.09 sec Start 2713: SbmlTestSuite.t1060 2713/3476 Test #2713: SbmlTestSuite.t1060 ............................................................................... Passed 0.09 sec Start 2714: SbmlTestSuite.t1061 2714/3476 Test #2714: SbmlTestSuite.t1061 ............................................................................... Passed 0.08 sec Start 2715: SbmlTestSuite.t1062 2715/3476 Test #2715: SbmlTestSuite.t1062 ............................................................................... Passed 0.09 sec Start 2716: SbmlTestSuite.t1063 2716/3476 Test #2716: SbmlTestSuite.t1063 ............................................................................... Passed 0.09 sec Start 2717: SbmlTestSuite.t1064 2717/3476 Test #2717: SbmlTestSuite.t1064 ............................................................................... Passed 0.09 sec Start 2718: SbmlTestSuite.t1065 2718/3476 Test #2718: SbmlTestSuite.t1065 ............................................................................... Passed 0.08 sec Start 2719: SbmlTestSuite.t1066 2719/3476 Test #2719: SbmlTestSuite.t1066 ............................................................................... Passed 0.09 sec Start 2720: SbmlTestSuite.t1067 2720/3476 Test #2720: SbmlTestSuite.t1067 ............................................................................... Passed 0.09 sec Start 2721: SbmlTestSuite.t1068 2721/3476 Test #2721: SbmlTestSuite.t1068 ............................................................................... Passed 0.08 sec Start 2722: SbmlTestSuite.t1069 2722/3476 Test #2722: SbmlTestSuite.t1069 ............................................................................... Passed 0.09 sec Start 2723: SbmlTestSuite.t1070 2723/3476 Test #2723: SbmlTestSuite.t1070 ............................................................................... Passed 0.09 sec Start 2724: SbmlTestSuite.t1071 2724/3476 Test #2724: SbmlTestSuite.t1071 ............................................................................... Passed 0.09 sec Start 2725: SbmlTestSuite.t1072 2725/3476 Test #2725: SbmlTestSuite.t1072 ............................................................................... Passed 0.10 sec Start 2726: SbmlTestSuite.t1073 2726/3476 Test #2726: SbmlTestSuite.t1073 ............................................................................... Passed 0.09 sec Start 2727: SbmlTestSuite.t1074 2727/3476 Test #2727: SbmlTestSuite.t1074 ............................................................................... Passed 0.09 sec Start 2728: SbmlTestSuite.t1075 2728/3476 Test #2728: SbmlTestSuite.t1075 ............................................................................... Passed 0.10 sec Start 2729: SbmlTestSuite.t1076 2729/3476 Test #2729: SbmlTestSuite.t1076 ............................................................................... Passed 0.09 sec Start 2730: SbmlTestSuite.t1077 2730/3476 Test #2730: SbmlTestSuite.t1077 ............................................................................... Passed 0.08 sec Start 2731: SbmlTestSuite.t1078 2731/3476 Test #2731: SbmlTestSuite.t1078 ............................................................................... Passed 0.08 sec Start 2732: SbmlTestSuite.t1079 2732/3476 Test #2732: SbmlTestSuite.t1079 ............................................................................... Passed 0.08 sec Start 2733: SbmlTestSuite.t1080 2733/3476 Test #2733: SbmlTestSuite.t1080 ............................................................................... Passed 0.09 sec Start 2734: SbmlTestSuite.t1081 2734/3476 Test #2734: SbmlTestSuite.t1081 ............................................................................... Passed 0.09 sec Start 2735: SbmlTestSuite.t1082 2735/3476 Test #2735: SbmlTestSuite.t1082 ............................................................................... Passed 0.09 sec Start 2736: SbmlTestSuite.t1083 2736/3476 Test #2736: SbmlTestSuite.t1083 ............................................................................... Passed 0.02 sec Start 2737: SbmlTestSuite.t1084 2737/3476 Test #2737: SbmlTestSuite.t1084 ............................................................................... Passed 0.02 sec Start 2738: SbmlTestSuite.t1085 2738/3476 Test #2738: SbmlTestSuite.t1085 ............................................................................... Passed 0.02 sec Start 2739: SbmlTestSuite.t1086 2739/3476 Test #2739: SbmlTestSuite.t1086 ............................................................................... Passed 0.02 sec Start 2740: SbmlTestSuite.t1087 2740/3476 Test #2740: SbmlTestSuite.t1087 ............................................................................... Passed 0.08 sec Start 2741: SbmlTestSuite.t1088 2741/3476 Test #2741: SbmlTestSuite.t1088 ............................................................................... Passed 0.09 sec Start 2742: SbmlTestSuite.t1089 2742/3476 Test #2742: SbmlTestSuite.t1089 ............................................................................... Passed 0.09 sec Start 2743: SbmlTestSuite.t1090 2743/3476 Test #2743: SbmlTestSuite.t1090 ............................................................................... Passed 0.09 sec Start 2744: SbmlTestSuite.t1091 2744/3476 Test #2744: SbmlTestSuite.t1091 ............................................................................... Passed 0.09 sec Start 2745: SbmlTestSuite.t1092 2745/3476 Test #2745: SbmlTestSuite.t1092 ............................................................................... Passed 0.09 sec Start 2746: SbmlTestSuite.t1093 2746/3476 Test #2746: SbmlTestSuite.t1093 ............................................................................... Passed 0.09 sec Start 2747: SbmlTestSuite.t1094 2747/3476 Test #2747: SbmlTestSuite.t1094 ............................................................................... Passed 0.09 sec Start 2748: SbmlTestSuite.t1095 2748/3476 Test #2748: SbmlTestSuite.t1095 ............................................................................... Passed 0.09 sec Start 2749: SbmlTestSuite.t1096 2749/3476 Test #2749: SbmlTestSuite.t1096 ............................................................................... Passed 0.08 sec Start 2750: SbmlTestSuite.t1097 2750/3476 Test #2750: SbmlTestSuite.t1097 ............................................................................... Passed 0.09 sec Start 2751: SbmlTestSuite.t1098 2751/3476 Test #2751: SbmlTestSuite.t1098 ............................................................................... Passed 0.09 sec Start 2752: SbmlTestSuite.t1099 2752/3476 Test #2752: SbmlTestSuite.t1099 ............................................................................... Passed 0.08 sec Start 2753: SbmlTestSuite.t1100 2753/3476 Test #2753: SbmlTestSuite.t1100 ............................................................................... Passed 0.09 sec Start 2754: SbmlTestSuite.t1101 2754/3476 Test #2754: SbmlTestSuite.t1101 ............................................................................... Passed 0.09 sec Start 2755: SbmlTestSuite.t1102 2755/3476 Test #2755: SbmlTestSuite.t1102 ............................................................................... Passed 0.07 sec Start 2756: SbmlTestSuite.t1103 2756/3476 Test #2756: SbmlTestSuite.t1103 ............................................................................... Passed 0.07 sec Start 2757: SbmlTestSuite.t1104 2757/3476 Test #2757: SbmlTestSuite.t1104 ............................................................................... Passed 0.08 sec Start 2758: SbmlTestSuite.t1105 2758/3476 Test #2758: SbmlTestSuite.t1105 ............................................................................... Passed 0.08 sec Start 2759: SbmlTestSuite.t1106 2759/3476 Test #2759: SbmlTestSuite.t1106 ............................................................................... Passed 0.08 sec Start 2760: SbmlTestSuite.t1107 2760/3476 Test #2760: SbmlTestSuite.t1107 ............................................................................... Passed 0.07 sec Start 2761: SbmlTestSuite.t1108 2761/3476 Test #2761: SbmlTestSuite.t1108 ............................................................................... Passed 0.02 sec Start 2762: SbmlTestSuite.t1109 2762/3476 Test #2762: SbmlTestSuite.t1109 ............................................................................... Passed 0.07 sec Start 2763: SbmlTestSuite.t1110 2763/3476 Test #2763: SbmlTestSuite.t1110 ............................................................................... Passed 0.08 sec Start 2764: SbmlTestSuite.t1111 2764/3476 Test #2764: SbmlTestSuite.t1111 ............................................................................... Passed 0.08 sec Start 2765: SbmlTestSuite.t1112 2765/3476 Test #2765: SbmlTestSuite.t1112 ............................................................................... Passed 0.06 sec Start 2766: SbmlTestSuite.t1113 2766/3476 Test #2766: SbmlTestSuite.t1113 ............................................................................... Passed 0.06 sec Start 2767: SbmlTestSuite.t1114 2767/3476 Test #2767: SbmlTestSuite.t1114 ............................................................................... Passed 0.06 sec Start 2768: SbmlTestSuite.t1115 2768/3476 Test #2768: SbmlTestSuite.t1115 ............................................................................... Passed 0.06 sec Start 2769: SbmlTestSuite.t1116 2769/3476 Test #2769: SbmlTestSuite.t1116 ............................................................................... Passed 0.06 sec Start 2770: SbmlTestSuite.t1117 2770/3476 Test #2770: SbmlTestSuite.t1117 ............................................................................... Passed 0.07 sec Start 2771: SbmlTestSuite.t1118 2771/3476 Test #2771: SbmlTestSuite.t1118 ............................................................................... Passed 0.07 sec Start 2772: SbmlTestSuite.t1119 2772/3476 Test #2772: SbmlTestSuite.t1119 ............................................................................... Passed 0.07 sec Start 2773: SbmlTestSuite.t1120 2773/3476 Test #2773: SbmlTestSuite.t1120 ............................................................................... Passed 0.07 sec Start 2774: SbmlTestSuite.t1121 2774/3476 Test #2774: SbmlTestSuite.t1121 ............................................................................... Passed 0.12 sec Start 2775: SbmlTestSuite.t1122 2775/3476 Test #2775: SbmlTestSuite.t1122 ............................................................................... Passed 0.08 sec Start 2776: SbmlTestSuite.t1123 2776/3476 Test #2776: SbmlTestSuite.t1123 ............................................................................... Passed 0.08 sec Start 2777: SbmlTestSuite.t1124 2777/3476 Test #2777: SbmlTestSuite.t1124 ............................................................................... Passed 0.05 sec Start 2778: SbmlTestSuite.t1125 2778/3476 Test #2778: SbmlTestSuite.t1125 ............................................................................... Passed 0.06 sec Start 2779: SbmlTestSuite.t1126 2779/3476 Test #2779: SbmlTestSuite.t1126 ............................................................................... Passed 0.06 sec Start 2780: SbmlTestSuite.t1127 2780/3476 Test #2780: SbmlTestSuite.t1127 ............................................................................... Passed 0.06 sec Start 2781: SbmlTestSuite.t1128 2781/3476 Test #2781: SbmlTestSuite.t1128 ............................................................................... Passed 0.05 sec Start 2782: SbmlTestSuite.t1129 2782/3476 Test #2782: SbmlTestSuite.t1129 ............................................................................... Passed 0.08 sec Start 2783: SbmlTestSuite.t1130 2783/3476 Test #2783: SbmlTestSuite.t1130 ............................................................................... Passed 0.08 sec Start 2784: SbmlTestSuite.t1131 2784/3476 Test #2784: SbmlTestSuite.t1131 ............................................................................... Passed 0.09 sec Start 2785: SbmlTestSuite.t1132 2785/3476 Test #2785: SbmlTestSuite.t1132 ............................................................................... Passed 0.09 sec Start 2786: SbmlTestSuite.t1133 2786/3476 Test #2786: SbmlTestSuite.t1133 ............................................................................... Passed 0.09 sec Start 2787: SbmlTestSuite.t1134 2787/3476 Test #2787: SbmlTestSuite.t1134 ............................................................................... Passed 0.09 sec Start 2788: SbmlTestSuite.t1135 2788/3476 Test #2788: SbmlTestSuite.t1135 ............................................................................... Passed 0.06 sec Start 2789: SbmlTestSuite.t1136 2789/3476 Test #2789: SbmlTestSuite.t1136 ............................................................................... Passed 0.05 sec Start 2790: SbmlTestSuite.t1137 2790/3476 Test #2790: SbmlTestSuite.t1137 ............................................................................... Passed 0.06 sec Start 2791: SbmlTestSuite.t1138 2791/3476 Test #2791: SbmlTestSuite.t1138 ............................................................................... Passed 0.06 sec Start 2792: SbmlTestSuite.t1139 2792/3476 Test #2792: SbmlTestSuite.t1139 ............................................................................... Passed 0.06 sec Start 2793: SbmlTestSuite.t1140 2793/3476 Test #2793: SbmlTestSuite.t1140 ............................................................................... Passed 0.07 sec Start 2794: SbmlTestSuite.t1141 2794/3476 Test #2794: SbmlTestSuite.t1141 ............................................................................... Passed 0.06 sec Start 2795: SbmlTestSuite.t1142 2795/3476 Test #2795: SbmlTestSuite.t1142 ............................................................................... Passed 0.03 sec Start 2796: SbmlTestSuite.t1143 2796/3476 Test #2796: SbmlTestSuite.t1143 ............................................................................... Passed 0.07 sec Start 2797: SbmlTestSuite.t1144 2797/3476 Test #2797: SbmlTestSuite.t1144 ............................................................................... Passed 0.08 sec Start 2798: SbmlTestSuite.t1145 2798/3476 Test #2798: SbmlTestSuite.t1145 ............................................................................... Passed 0.07 sec Start 2799: SbmlTestSuite.t1146 2799/3476 Test #2799: SbmlTestSuite.t1146 ............................................................................... Passed 0.06 sec Start 2800: SbmlTestSuite.t1147 2800/3476 Test #2800: SbmlTestSuite.t1147 ............................................................................... Passed 0.06 sec Start 2801: SbmlTestSuite.t1148 2801/3476 Test #2801: SbmlTestSuite.t1148 ............................................................................... Passed 0.08 sec Start 2802: SbmlTestSuite.t1149 2802/3476 Test #2802: SbmlTestSuite.t1149 ............................................................................... Passed 0.06 sec Start 2803: SbmlTestSuite.t1150 2803/3476 Test #2803: SbmlTestSuite.t1150 ............................................................................... Passed 0.06 sec Start 2804: SbmlTestSuite.t1151 2804/3476 Test #2804: SbmlTestSuite.t1151 ............................................................................... Passed 0.06 sec Start 2805: SbmlTestSuite.t1152 2805/3476 Test #2805: SbmlTestSuite.t1152 ............................................................................... Passed 0.06 sec Start 2806: SbmlTestSuite.t1153 2806/3476 Test #2806: SbmlTestSuite.t1153 ............................................................................... Passed 0.06 sec Start 2807: SbmlTestSuite.t1154 2807/3476 Test #2807: SbmlTestSuite.t1154 ............................................................................... Passed 0.06 sec Start 2808: SbmlTestSuite.t1155 2808/3476 Test #2808: SbmlTestSuite.t1155 ............................................................................... Passed 0.06 sec Start 2809: SbmlTestSuite.t1156 2809/3476 Test #2809: SbmlTestSuite.t1156 ............................................................................... Passed 0.06 sec Start 2810: SbmlTestSuite.t1157 2810/3476 Test #2810: SbmlTestSuite.t1157 ............................................................................... Passed 0.06 sec Start 2811: SbmlTestSuite.t1158 2811/3476 Test #2811: SbmlTestSuite.t1158 ............................................................................... Passed 0.06 sec Start 2812: SbmlTestSuite.t1159 2812/3476 Test #2812: SbmlTestSuite.t1159 ............................................................................... Passed 0.07 sec Start 2813: SbmlTestSuite.t1160 2813/3476 Test #2813: SbmlTestSuite.t1160 ............................................................................... Passed 0.07 sec Start 2814: SbmlTestSuite.t1161 2814/3476 Test #2814: SbmlTestSuite.t1161 ............................................................................... Passed 0.07 sec Start 2815: SbmlTestSuite.t1162 2815/3476 Test #2815: SbmlTestSuite.t1162 ............................................................................... Passed 0.06 sec Start 2816: SbmlTestSuite.t1163 2816/3476 Test #2816: SbmlTestSuite.t1163 ............................................................................... Passed 0.06 sec Start 2817: SbmlTestSuite.t1164 2817/3476 Test #2817: SbmlTestSuite.t1164 ............................................................................... Passed 0.10 sec Start 2818: SbmlTestSuite.t1165 2818/3476 Test #2818: SbmlTestSuite.t1165 ............................................................................... Passed 0.09 sec Start 2819: SbmlTestSuite.t1166 2819/3476 Test #2819: SbmlTestSuite.t1166 ............................................................................... Passed 0.09 sec Start 2820: SbmlTestSuite.t1167 2820/3476 Test #2820: SbmlTestSuite.t1167 ............................................................................... Passed 0.09 sec Start 2821: SbmlTestSuite.t1168 2821/3476 Test #2821: SbmlTestSuite.t1168 ............................................................................... Passed 0.10 sec Start 2822: SbmlTestSuite.t1169 2822/3476 Test #2822: SbmlTestSuite.t1169 ............................................................................... Passed 0.09 sec Start 2823: SbmlTestSuite.t1170 2823/3476 Test #2823: SbmlTestSuite.t1170 ............................................................................... Passed 0.07 sec Start 2824: SbmlTestSuite.t1171 2824/3476 Test #2824: SbmlTestSuite.t1171 ............................................................................... Passed 0.06 sec Start 2825: SbmlTestSuite.t1172 2825/3476 Test #2825: SbmlTestSuite.t1172 ............................................................................... Passed 0.06 sec Start 2826: SbmlTestSuite.t1173 2826/3476 Test #2826: SbmlTestSuite.t1173 ............................................................................... Passed 0.02 sec Start 2827: SbmlTestSuite.t1174 2827/3476 Test #2827: SbmlTestSuite.t1174 ............................................................................... Passed 0.02 sec Start 2828: SbmlTestSuite.t1175 2828/3476 Test #2828: SbmlTestSuite.t1175 ............................................................................... Passed 0.07 sec Start 2829: SbmlTestSuite.t1176 2829/3476 Test #2829: SbmlTestSuite.t1176 ............................................................................... Passed 0.02 sec Start 2830: SbmlTestSuite.t1177 2830/3476 Test #2830: SbmlTestSuite.t1177 ............................................................................... Passed 0.06 sec Start 2831: SbmlTestSuite.t1178 2831/3476 Test #2831: SbmlTestSuite.t1178 ............................................................................... Passed 0.07 sec Start 2832: SbmlTestSuite.t1179 2832/3476 Test #2832: SbmlTestSuite.t1179 ............................................................................... Passed 0.06 sec Start 2833: SbmlTestSuite.t1180 2833/3476 Test #2833: SbmlTestSuite.t1180 ............................................................................... Passed 0.07 sec Start 2834: SbmlTestSuite.t1181 2834/3476 Test #2834: SbmlTestSuite.t1181 ............................................................................... Passed 0.08 sec Start 2835: SbmlTestSuite.t1182 2835/3476 Test #2835: SbmlTestSuite.t1182 ............................................................................... Passed 0.08 sec Start 2836: SbmlTestSuite.t1183 2836/3476 Test #2836: SbmlTestSuite.t1183 ............................................................................... Passed 0.08 sec Start 2837: SbmlTestSuite.t1184 2837/3476 Test #2837: SbmlTestSuite.t1184 ............................................................................... Passed 0.07 sec Start 2838: SbmlTestSuite.t1185 2838/3476 Test #2838: SbmlTestSuite.t1185 ............................................................................... Passed 0.07 sec Start 2839: SbmlTestSuite.t1186 2839/3476 Test #2839: SbmlTestSuite.t1186 ............................................................................... Passed 0.16 sec Start 2840: SbmlTestSuite.t1187 2840/3476 Test #2840: SbmlTestSuite.t1187 ............................................................................... Passed 0.16 sec Start 2841: SbmlTestSuite.t1188 2841/3476 Test #2841: SbmlTestSuite.t1188 ............................................................................... Passed 0.16 sec Start 2842: SbmlTestSuite.t1189 2842/3476 Test #2842: SbmlTestSuite.t1189 ............................................................................... Passed 0.16 sec Start 2843: SbmlTestSuite.t1190 2843/3476 Test #2843: SbmlTestSuite.t1190 ............................................................................... Passed 0.16 sec Start 2844: SbmlTestSuite.t1191 2844/3476 Test #2844: SbmlTestSuite.t1191 ............................................................................... Passed 0.16 sec Start 2845: SbmlTestSuite.t1192 2845/3476 Test #2845: SbmlTestSuite.t1192 ............................................................................... Passed 0.16 sec Start 2846: SbmlTestSuite.t1193 2846/3476 Test #2846: SbmlTestSuite.t1193 ............................................................................... Passed 0.16 sec Start 2847: SbmlTestSuite.t1194 2847/3476 Test #2847: SbmlTestSuite.t1194 ............................................................................... Passed 0.16 sec Start 2848: SbmlTestSuite.t1195 2848/3476 Test #2848: SbmlTestSuite.t1195 ............................................................................... Passed 0.16 sec Start 2849: SbmlTestSuite.t1196 2849/3476 Test #2849: SbmlTestSuite.t1196 ............................................................................... Passed 0.16 sec Start 2850: SbmlTestSuite.t1197 2850/3476 Test #2850: SbmlTestSuite.t1197 ............................................................................... Passed 0.05 sec Start 2851: SbmlTestSuite.t1198 2851/3476 Test #2851: SbmlTestSuite.t1198 ............................................................................... Passed 0.07 sec Start 2852: SbmlTestSuite.t1199 2852/3476 Test #2852: SbmlTestSuite.t1199 ............................................................................... Passed 0.06 sec Start 2853: SbmlTestSuite.t1200 2853/3476 Test #2853: SbmlTestSuite.t1200 ............................................................................... Passed 0.07 sec Start 2854: SbmlTestSuite.t1201 2854/3476 Test #2854: SbmlTestSuite.t1201 ............................................................................... Passed 0.07 sec Start 2855: SbmlTestSuite.t1202 2855/3476 Test #2855: SbmlTestSuite.t1202 ............................................................................... Passed 0.07 sec Start 2856: SbmlTestSuite.t1203 2856/3476 Test #2856: SbmlTestSuite.t1203 ............................................................................... Passed 0.07 sec Start 2857: SbmlTestSuite.t1204 2857/3476 Test #2857: SbmlTestSuite.t1204 ............................................................................... Passed 0.07 sec Start 2858: SbmlTestSuite.t1205 2858/3476 Test #2858: SbmlTestSuite.t1205 ............................................................................... Passed 0.07 sec Start 2859: SbmlTestSuite.t1206 2859/3476 Test #2859: SbmlTestSuite.t1206 ............................................................................... Passed 0.07 sec Start 2860: SbmlTestSuite.t1207 2860/3476 Test #2860: SbmlTestSuite.t1207 ............................................................................... Passed 0.07 sec Start 2861: SbmlTestSuite.t1208 2861/3476 Test #2861: SbmlTestSuite.t1208 ............................................................................... Passed 0.07 sec Start 2862: SbmlTestSuite.t1209 2862/3476 Test #2862: SbmlTestSuite.t1209 ............................................................................... Passed 0.05 sec Start 2863: SbmlTestSuite.t1210 2863/3476 Test #2863: SbmlTestSuite.t1210 ............................................................................... Passed 0.06 sec Start 2864: SbmlTestSuite.t1211 2864/3476 Test #2864: SbmlTestSuite.t1211 ............................................................................... Passed 0.06 sec Start 2865: SbmlTestSuite.t1212 2865/3476 Test #2865: SbmlTestSuite.t1212 ............................................................................... Passed 0.06 sec Start 2866: SbmlTestSuite.t1213 2866/3476 Test #2866: SbmlTestSuite.t1213 ............................................................................... Passed 0.06 sec Start 2867: SbmlTestSuite.t1214 2867/3476 Test #2867: SbmlTestSuite.t1214 ............................................................................... Passed 0.06 sec Start 2868: SbmlTestSuite.t1215 2868/3476 Test #2868: SbmlTestSuite.t1215 ............................................................................... Passed 0.06 sec Start 2869: SbmlTestSuite.t1216 2869/3476 Test #2869: SbmlTestSuite.t1216 ............................................................................... Passed 0.06 sec Start 2870: SbmlTestSuite.t1217 2870/3476 Test #2870: SbmlTestSuite.t1217 ............................................................................... Passed 0.06 sec Start 2871: SbmlTestSuite.t1218 2871/3476 Test #2871: SbmlTestSuite.t1218 ............................................................................... Passed 0.06 sec Start 2872: SbmlTestSuite.t1219 2872/3476 Test #2872: SbmlTestSuite.t1219 ............................................................................... Passed 0.06 sec Start 2873: SbmlTestSuite.t1220 2873/3476 Test #2873: SbmlTestSuite.t1220 ............................................................................... Passed 0.06 sec Start 2874: SbmlTestSuite.t1221 2874/3476 Test #2874: SbmlTestSuite.t1221 ............................................................................... Passed 0.06 sec Start 2875: SbmlTestSuite.t1222 2875/3476 Test #2875: SbmlTestSuite.t1222 ............................................................................... Passed 0.07 sec Start 2876: SbmlTestSuite.t1223 2876/3476 Test #2876: SbmlTestSuite.t1223 ............................................................................... Passed 0.06 sec Start 2877: SbmlTestSuite.t1224 2877/3476 Test #2877: SbmlTestSuite.t1224 ............................................................................... Passed 0.07 sec Start 2878: SbmlTestSuite.t1225 2878/3476 Test #2878: SbmlTestSuite.t1225 ............................................................................... Passed 0.07 sec Start 2879: SbmlTestSuite.t1226 2879/3476 Test #2879: SbmlTestSuite.t1226 ............................................................................... Passed 0.07 sec Start 2880: SbmlTestSuite.t1227 2880/3476 Test #2880: SbmlTestSuite.t1227 ............................................................................... Passed 0.08 sec Start 2881: SbmlTestSuite.t1228 2881/3476 Test #2881: SbmlTestSuite.t1228 ............................................................................... Passed 0.08 sec Start 2882: SbmlTestSuite.t1229 2882/3476 Test #2882: SbmlTestSuite.t1229 ............................................................................... Passed 0.08 sec Start 2883: SbmlTestSuite.t1230 2883/3476 Test #2883: SbmlTestSuite.t1230 ............................................................................... Passed 0.08 sec Start 2884: SbmlTestSuite.t1231 2884/3476 Test #2884: SbmlTestSuite.t1231 ............................................................................... Passed 0.08 sec Start 2885: SbmlTestSuite.t1232 2885/3476 Test #2885: SbmlTestSuite.t1232 ............................................................................... Passed 0.08 sec Start 2886: SbmlTestSuite.t1233 2886/3476 Test #2886: SbmlTestSuite.t1233 ............................................................................... Passed 0.07 sec Start 2887: SbmlTestSuite.t1234 2887/3476 Test #2887: SbmlTestSuite.t1234 ............................................................................... Passed 0.04 sec Start 2888: SbmlTestSuite.t1235 2888/3476 Test #2888: SbmlTestSuite.t1235 ............................................................................... Passed 0.04 sec Start 2889: SbmlTestSuite.t1236 2889/3476 Test #2889: SbmlTestSuite.t1236 ............................................................................... Passed 0.04 sec Start 2890: SbmlTestSuite.t1237 2890/3476 Test #2890: SbmlTestSuite.t1237 ............................................................................... Passed 0.04 sec Start 2891: SbmlTestSuite.t1238 2891/3476 Test #2891: SbmlTestSuite.t1238 ............................................................................... Passed 0.04 sec Start 2892: SbmlTestSuite.t1239 2892/3476 Test #2892: SbmlTestSuite.t1239 ............................................................................... Passed 0.04 sec Start 2893: SbmlTestSuite.t1240 2893/3476 Test #2893: SbmlTestSuite.t1240 ............................................................................... Passed 0.06 sec Start 2894: SbmlTestSuite.t1241 2894/3476 Test #2894: SbmlTestSuite.t1241 ............................................................................... Passed 0.04 sec Start 2895: SbmlTestSuite.t1242 2895/3476 Test #2895: SbmlTestSuite.t1242 ............................................................................... Passed 0.04 sec Start 2896: SbmlTestSuite.t1243 2896/3476 Test #2896: SbmlTestSuite.t1243 ............................................................................... Passed 0.04 sec Start 2897: SbmlTestSuite.t1244 2897/3476 Test #2897: SbmlTestSuite.t1244 ............................................................................... Passed 0.04 sec Start 2898: SbmlTestSuite.t1245 2898/3476 Test #2898: SbmlTestSuite.t1245 ............................................................................... Passed 0.04 sec Start 2899: SbmlTestSuite.t1246 2899/3476 Test #2899: SbmlTestSuite.t1246 ............................................................................... Passed 0.05 sec Start 2900: SbmlTestSuite.t1247 2900/3476 Test #2900: SbmlTestSuite.t1247 ............................................................................... Passed 0.04 sec Start 2901: SbmlTestSuite.t1248 2901/3476 Test #2901: SbmlTestSuite.t1248 ............................................................................... Passed 0.04 sec Start 2902: SbmlTestSuite.t1249 2902/3476 Test #2902: SbmlTestSuite.t1249 ............................................................................... Passed 0.04 sec Start 2903: SbmlTestSuite.t1250 2903/3476 Test #2903: SbmlTestSuite.t1250 ............................................................................... Passed 0.04 sec Start 2904: SbmlTestSuite.t1251 2904/3476 Test #2904: SbmlTestSuite.t1251 ............................................................................... Passed 0.04 sec Start 2905: SbmlTestSuite.t1252 2905/3476 Test #2905: SbmlTestSuite.t1252 ............................................................................... Passed 0.05 sec Start 2906: SbmlTestSuite.t1253 2906/3476 Test #2906: SbmlTestSuite.t1253 ............................................................................... Passed 0.05 sec Start 2907: SbmlTestSuite.t1254 2907/3476 Test #2907: SbmlTestSuite.t1254 ............................................................................... Passed 0.05 sec Start 2908: SbmlTestSuite.t1255 2908/3476 Test #2908: SbmlTestSuite.t1255 ............................................................................... Passed 0.04 sec Start 2909: SbmlTestSuite.t1256 2909/3476 Test #2909: SbmlTestSuite.t1256 ............................................................................... Passed 0.05 sec Start 2910: SbmlTestSuite.t1257 2910/3476 Test #2910: SbmlTestSuite.t1257 ............................................................................... Passed 0.05 sec Start 2911: SbmlTestSuite.t1258 2911/3476 Test #2911: SbmlTestSuite.t1258 ............................................................................... Passed 0.04 sec Start 2912: SbmlTestSuite.t1259 2912/3476 Test #2912: SbmlTestSuite.t1259 ............................................................................... Passed 0.05 sec Start 2913: SbmlTestSuite.t1260 2913/3476 Test #2913: SbmlTestSuite.t1260 ............................................................................... Passed 0.04 sec Start 2914: SbmlTestSuite.t1261 2914/3476 Test #2914: SbmlTestSuite.t1261 ............................................................................... Passed 0.04 sec Start 2915: SbmlTestSuite.t1262 2915/3476 Test #2915: SbmlTestSuite.t1262 ............................................................................... Passed 0.04 sec Start 2916: SbmlTestSuite.t1263 2916/3476 Test #2916: SbmlTestSuite.t1263 ............................................................................... Passed 0.04 sec Start 2917: SbmlTestSuite.t1264 2917/3476 Test #2917: SbmlTestSuite.t1264 ............................................................................... Passed 0.04 sec Start 2918: SbmlTestSuite.t1265 2918/3476 Test #2918: SbmlTestSuite.t1265 ............................................................................... Passed 0.05 sec Start 2919: SbmlTestSuite.t1266 2919/3476 Test #2919: SbmlTestSuite.t1266 ............................................................................... Passed 0.04 sec Start 2920: SbmlTestSuite.t1267 2920/3476 Test #2920: SbmlTestSuite.t1267 ............................................................................... Passed 0.04 sec Start 2921: SbmlTestSuite.t1268 2921/3476 Test #2921: SbmlTestSuite.t1268 ............................................................................... Passed 0.04 sec Start 2922: SbmlTestSuite.t1269 2922/3476 Test #2922: SbmlTestSuite.t1269 ............................................................................... Passed 0.05 sec Start 2923: SbmlTestSuite.t1270 2923/3476 Test #2923: SbmlTestSuite.t1270 ............................................................................... Passed 0.05 sec Start 2924: SbmlTestSuite.t1271 2924/3476 Test #2924: SbmlTestSuite.t1271 ............................................................................... Passed 0.04 sec Start 2925: SbmlTestSuite.t1272 2925/3476 Test #2925: SbmlTestSuite.t1272 ............................................................................... Passed 0.04 sec Start 2926: SbmlTestSuite.t1273 2926/3476 Test #2926: SbmlTestSuite.t1273 ............................................................................... Passed 0.04 sec Start 2927: SbmlTestSuite.t1274 2927/3476 Test #2927: SbmlTestSuite.t1274 ............................................................................... Passed 0.04 sec Start 2928: SbmlTestSuite.t1275 2928/3476 Test #2928: SbmlTestSuite.t1275 ............................................................................... Passed 0.04 sec Start 2929: SbmlTestSuite.t1276 2929/3476 Test #2929: SbmlTestSuite.t1276 ............................................................................... Passed 0.04 sec Start 2930: SbmlTestSuite.t1277 2930/3476 Test #2930: SbmlTestSuite.t1277 ............................................................................... Passed 0.04 sec Start 2931: SbmlTestSuite.t1278 2931/3476 Test #2931: SbmlTestSuite.t1278 ............................................................................... Passed 0.04 sec Start 2932: SbmlTestSuite.t1279 2932/3476 Test #2932: SbmlTestSuite.t1279 ............................................................................... Passed 0.04 sec Start 2933: SbmlTestSuite.t1280 2933/3476 Test #2933: SbmlTestSuite.t1280 ............................................................................... Passed 0.04 sec Start 2934: SbmlTestSuite.t1281 2934/3476 Test #2934: SbmlTestSuite.t1281 ............................................................................... Passed 0.04 sec Start 2935: SbmlTestSuite.t1282 2935/3476 Test #2935: SbmlTestSuite.t1282 ............................................................................... Passed 0.04 sec Start 2936: SbmlTestSuite.t1283 2936/3476 Test #2936: SbmlTestSuite.t1283 ............................................................................... Passed 0.04 sec Start 2937: SbmlTestSuite.t1284 2937/3476 Test #2937: SbmlTestSuite.t1284 ............................................................................... Passed 0.04 sec Start 2938: SbmlTestSuite.t1285 2938/3476 Test #2938: SbmlTestSuite.t1285 ............................................................................... Passed 0.04 sec Start 2939: SbmlTestSuite.t1286 2939/3476 Test #2939: SbmlTestSuite.t1286 ............................................................................... Passed 0.04 sec Start 2940: SbmlTestSuite.t1287 2940/3476 Test #2940: SbmlTestSuite.t1287 ............................................................................... Passed 0.04 sec Start 2941: SbmlTestSuite.t1288 2941/3476 Test #2941: SbmlTestSuite.t1288 ............................................................................... Passed 0.05 sec Start 2942: SbmlTestSuite.t1289 2942/3476 Test #2942: SbmlTestSuite.t1289 ............................................................................... Passed 0.04 sec Start 2943: SbmlTestSuite.t1290 2943/3476 Test #2943: SbmlTestSuite.t1290 ............................................................................... Passed 0.04 sec Start 2944: SbmlTestSuite.t1291 2944/3476 Test #2944: SbmlTestSuite.t1291 ............................................................................... Passed 0.04 sec Start 2945: SbmlTestSuite.t1292 2945/3476 Test #2945: SbmlTestSuite.t1292 ............................................................................... Passed 0.02 sec Start 2946: SbmlTestSuite.t1293 2946/3476 Test #2946: SbmlTestSuite.t1293 ............................................................................... Passed 0.05 sec Start 2947: SbmlTestSuite.t1294 2947/3476 Test #2947: SbmlTestSuite.t1294 ............................................................................... Passed 0.05 sec Start 2948: SbmlTestSuite.t1295 2948/3476 Test #2948: SbmlTestSuite.t1295 ............................................................................... Passed 0.05 sec Start 2949: SbmlTestSuite.t1296 2949/3476 Test #2949: SbmlTestSuite.t1296 ............................................................................... Passed 0.05 sec Start 2950: SbmlTestSuite.t1297 2950/3476 Test #2950: SbmlTestSuite.t1297 ............................................................................... Passed 0.05 sec Start 2951: SbmlTestSuite.t1298 2951/3476 Test #2951: SbmlTestSuite.t1298 ............................................................................... Passed 0.05 sec Start 2952: SbmlTestSuite.t1299 2952/3476 Test #2952: SbmlTestSuite.t1299 ............................................................................... Passed 0.05 sec Start 2953: SbmlTestSuite.t1300 2953/3476 Test #2953: SbmlTestSuite.t1300 ............................................................................... Passed 0.04 sec Start 2954: SbmlTestSuite.t1301 2954/3476 Test #2954: SbmlTestSuite.t1301 ............................................................................... Passed 0.04 sec Start 2955: SbmlTestSuite.t1302 2955/3476 Test #2955: SbmlTestSuite.t1302 ............................................................................... Passed 0.04 sec Start 2956: SbmlTestSuite.t1303 2956/3476 Test #2956: SbmlTestSuite.t1303 ............................................................................... Passed 0.04 sec Start 2957: SbmlTestSuite.t1304 2957/3476 Test #2957: SbmlTestSuite.t1304 ............................................................................... Passed 0.04 sec Start 2958: SbmlTestSuite.t1305 2958/3476 Test #2958: SbmlTestSuite.t1305 ............................................................................... Passed 0.04 sec Start 2959: SbmlTestSuite.t1306 2959/3476 Test #2959: SbmlTestSuite.t1306 ............................................................................... Passed 0.04 sec Start 2960: SbmlTestSuite.t1307 2960/3476 Test #2960: SbmlTestSuite.t1307 ............................................................................... Passed 0.07 sec Start 2961: SbmlTestSuite.t1308 2961/3476 Test #2961: SbmlTestSuite.t1308 ............................................................................... Passed 0.07 sec Start 2962: SbmlTestSuite.t1309 2962/3476 Test #2962: SbmlTestSuite.t1309 ............................................................................... Passed 0.07 sec Start 2963: SbmlTestSuite.t1310 2963/3476 Test #2963: SbmlTestSuite.t1310 ............................................................................... Passed 0.05 sec Start 2964: SbmlTestSuite.t1311 2964/3476 Test #2964: SbmlTestSuite.t1311 ............................................................................... Passed 0.05 sec Start 2965: SbmlTestSuite.t1312 2965/3476 Test #2965: SbmlTestSuite.t1312 ............................................................................... Passed 0.05 sec Start 2966: SbmlTestSuite.t1313 2966/3476 Test #2966: SbmlTestSuite.t1313 ............................................................................... Passed 0.06 sec Start 2967: SbmlTestSuite.t1314 2967/3476 Test #2967: SbmlTestSuite.t1314 ............................................................................... Passed 0.05 sec Start 2968: SbmlTestSuite.t1315 2968/3476 Test #2968: SbmlTestSuite.t1315 ............................................................................... Passed 0.05 sec Start 2969: SbmlTestSuite.t1316 2969/3476 Test #2969: SbmlTestSuite.t1316 ............................................................................... Passed 0.06 sec Start 2970: SbmlTestSuite.t1317 2970/3476 Test #2970: SbmlTestSuite.t1317 ............................................................................... Passed 0.06 sec Start 2971: SbmlTestSuite.t1318 2971/3476 Test #2971: SbmlTestSuite.t1318 ............................................................................... Passed 0.02 sec Start 2972: SbmlTestSuite.t1319 2972/3476 Test #2972: SbmlTestSuite.t1319 ............................................................................... Passed 0.02 sec Start 2973: SbmlTestSuite.t1320 2973/3476 Test #2973: SbmlTestSuite.t1320 ............................................................................... Passed 0.02 sec Start 2974: SbmlTestSuite.t1321 2974/3476 Test #2974: SbmlTestSuite.t1321 ............................................................................... Passed 0.04 sec Start 2975: SbmlTestSuite.t1322 2975/3476 Test #2975: SbmlTestSuite.t1322 ............................................................................... Passed 0.04 sec Start 2976: SbmlTestSuite.t1323 2976/3476 Test #2976: SbmlTestSuite.t1323 ............................................................................... Passed 0.08 sec Start 2977: SbmlTestSuite.t1324 2977/3476 Test #2977: SbmlTestSuite.t1324 ............................................................................... Passed 0.06 sec Start 2978: SbmlTestSuite.t1325 2978/3476 Test #2978: SbmlTestSuite.t1325 ............................................................................... Passed 0.06 sec Start 2979: SbmlTestSuite.t1326 2979/3476 Test #2979: SbmlTestSuite.t1326 ............................................................................... Passed 0.07 sec Start 2980: SbmlTestSuite.t1327 2980/3476 Test #2980: SbmlTestSuite.t1327 ............................................................................... Passed 0.07 sec Start 2981: SbmlTestSuite.t1328 2981/3476 Test #2981: SbmlTestSuite.t1328 ............................................................................... Passed 0.06 sec Start 2982: SbmlTestSuite.t1329 2982/3476 Test #2982: SbmlTestSuite.t1329 ............................................................................... Passed 0.06 sec Start 2983: SbmlTestSuite.t1330 2983/3476 Test #2983: SbmlTestSuite.t1330 ............................................................................... Passed 0.06 sec Start 2984: SbmlTestSuite.t1331 2984/3476 Test #2984: SbmlTestSuite.t1331 ............................................................................... Passed 0.06 sec Start 2985: SbmlTestSuite.t1332 2985/3476 Test #2985: SbmlTestSuite.t1332 ............................................................................... Passed 0.06 sec Start 2986: SbmlTestSuite.t1333 2986/3476 Test #2986: SbmlTestSuite.t1333 ............................................................................... Passed 0.06 sec Start 2987: SbmlTestSuite.t1334 2987/3476 Test #2987: SbmlTestSuite.t1334 ............................................................................... Passed 0.06 sec Start 2988: SbmlTestSuite.t1335 2988/3476 Test #2988: SbmlTestSuite.t1335 ............................................................................... Passed 0.06 sec Start 2989: SbmlTestSuite.t1336 2989/3476 Test #2989: SbmlTestSuite.t1336 ............................................................................... Passed 0.06 sec Start 2990: SbmlTestSuite.t1337 2990/3476 Test #2990: SbmlTestSuite.t1337 ............................................................................... Passed 0.06 sec Start 2991: SbmlTestSuite.t1338 2991/3476 Test #2991: SbmlTestSuite.t1338 ............................................................................... Passed 0.07 sec Start 2992: SbmlTestSuite.t1339 2992/3476 Test #2992: SbmlTestSuite.t1339 ............................................................................... Passed 0.07 sec Start 2993: SbmlTestSuite.t1340 2993/3476 Test #2993: SbmlTestSuite.t1340 ............................................................................... Passed 0.08 sec Start 2994: SbmlTestSuite.t1341 2994/3476 Test #2994: SbmlTestSuite.t1341 ............................................................................... Passed 0.07 sec Start 2995: SbmlTestSuite.t1342 2995/3476 Test #2995: SbmlTestSuite.t1342 ............................................................................... Passed 0.07 sec Start 2996: SbmlTestSuite.t1343 2996/3476 Test #2996: SbmlTestSuite.t1343 ............................................................................... Passed 0.06 sec Start 2997: SbmlTestSuite.t1344 2997/3476 Test #2997: SbmlTestSuite.t1344 ............................................................................... Passed 0.07 sec Start 2998: SbmlTestSuite.t1345 2998/3476 Test #2998: SbmlTestSuite.t1345 ............................................................................... Passed 0.07 sec Start 2999: SbmlTestSuite.t1346 2999/3476 Test #2999: SbmlTestSuite.t1346 ............................................................................... Passed 0.08 sec Start 3000: SbmlTestSuite.t1347 3000/3476 Test #3000: SbmlTestSuite.t1347 ............................................................................... Passed 0.08 sec Start 3001: SbmlTestSuite.t1348 3001/3476 Test #3001: SbmlTestSuite.t1348 ............................................................................... Passed 0.08 sec Start 3002: SbmlTestSuite.t1349 3002/3476 Test #3002: SbmlTestSuite.t1349 ............................................................................... Passed 0.08 sec Start 3003: SbmlTestSuite.t1350 3003/3476 Test #3003: SbmlTestSuite.t1350 ............................................................................... Passed 0.02 sec Start 3004: SbmlTestSuite.t1351 3004/3476 Test #3004: SbmlTestSuite.t1351 ............................................................................... Passed 0.07 sec Start 3005: SbmlTestSuite.t1352 3005/3476 Test #3005: SbmlTestSuite.t1352 ............................................................................... Passed 0.07 sec Start 3006: SbmlTestSuite.t1353 3006/3476 Test #3006: SbmlTestSuite.t1353 ............................................................................... Passed 0.06 sec Start 3007: SbmlTestSuite.t1354 3007/3476 Test #3007: SbmlTestSuite.t1354 ............................................................................... Passed 0.06 sec Start 3008: SbmlTestSuite.t1355 3008/3476 Test #3008: SbmlTestSuite.t1355 ............................................................................... Passed 0.06 sec Start 3009: SbmlTestSuite.t1356 3009/3476 Test #3009: SbmlTestSuite.t1356 ............................................................................... Passed 0.06 sec Start 3010: SbmlTestSuite.t1357 3010/3476 Test #3010: SbmlTestSuite.t1357 ............................................................................... Passed 0.06 sec Start 3011: SbmlTestSuite.t1358 3011/3476 Test #3011: SbmlTestSuite.t1358 ............................................................................... Passed 0.06 sec Start 3012: SbmlTestSuite.t1359 3012/3476 Test #3012: SbmlTestSuite.t1359 ............................................................................... Passed 0.02 sec Start 3013: SbmlTestSuite.t1360 3013/3476 Test #3013: SbmlTestSuite.t1360 ............................................................................... Passed 0.07 sec Start 3014: SbmlTestSuite.t1361 3014/3476 Test #3014: SbmlTestSuite.t1361 ............................................................................... Passed 0.06 sec Start 3015: SbmlTestSuite.t1362 3015/3476 Test #3015: SbmlTestSuite.t1362 ............................................................................... Passed 0.06 sec Start 3016: SbmlTestSuite.t1363 3016/3476 Test #3016: SbmlTestSuite.t1363 ............................................................................... Passed 0.06 sec Start 3017: SbmlTestSuite.t1364 3017/3476 Test #3017: SbmlTestSuite.t1364 ............................................................................... Passed 0.06 sec Start 3018: SbmlTestSuite.t1365 3018/3476 Test #3018: SbmlTestSuite.t1365 ............................................................................... Passed 0.07 sec Start 3019: SbmlTestSuite.t1366 3019/3476 Test #3019: SbmlTestSuite.t1366 ............................................................................... Passed 0.06 sec Start 3020: SbmlTestSuite.t1367 3020/3476 Test #3020: SbmlTestSuite.t1367 ............................................................................... Passed 0.06 sec Start 3021: SbmlTestSuite.t1368 3021/3476 Test #3021: SbmlTestSuite.t1368 ............................................................................... Passed 0.02 sec Start 3022: SbmlTestSuite.t1369 3022/3476 Test #3022: SbmlTestSuite.t1369 ............................................................................... Passed 0.07 sec Start 3023: SbmlTestSuite.t1370 3023/3476 Test #3023: SbmlTestSuite.t1370 ............................................................................... Passed 0.06 sec Start 3024: SbmlTestSuite.t1371 3024/3476 Test #3024: SbmlTestSuite.t1371 ............................................................................... Passed 0.07 sec Start 3025: SbmlTestSuite.t1372 3025/3476 Test #3025: SbmlTestSuite.t1372 ............................................................................... Passed 0.07 sec Start 3026: SbmlTestSuite.t1373 3026/3476 Test #3026: SbmlTestSuite.t1373 ............................................................................... Passed 0.07 sec Start 3027: SbmlTestSuite.t1374 3027/3476 Test #3027: SbmlTestSuite.t1374 ............................................................................... Passed 0.08 sec Start 3028: SbmlTestSuite.t1375 3028/3476 Test #3028: SbmlTestSuite.t1375 ............................................................................... Passed 0.07 sec Start 3029: SbmlTestSuite.t1376 3029/3476 Test #3029: SbmlTestSuite.t1376 ............................................................................... Passed 0.07 sec Start 3030: SbmlTestSuite.t1377 3030/3476 Test #3030: SbmlTestSuite.t1377 ............................................................................... Passed 0.02 sec Start 3031: SbmlTestSuite.t1378 3031/3476 Test #3031: SbmlTestSuite.t1378 ............................................................................... Passed 0.07 sec Start 3032: SbmlTestSuite.t1379 3032/3476 Test #3032: SbmlTestSuite.t1379 ............................................................................... Passed 0.07 sec Start 3033: SbmlTestSuite.t1380 3033/3476 Test #3033: SbmlTestSuite.t1380 ............................................................................... Passed 0.07 sec Start 3034: SbmlTestSuite.t1381 3034/3476 Test #3034: SbmlTestSuite.t1381 ............................................................................... Passed 0.07 sec Start 3035: SbmlTestSuite.t1382 3035/3476 Test #3035: SbmlTestSuite.t1382 ............................................................................... Passed 0.08 sec Start 3036: SbmlTestSuite.t1383 3036/3476 Test #3036: SbmlTestSuite.t1383 ............................................................................... Passed 0.08 sec Start 3037: SbmlTestSuite.t1384 3037/3476 Test #3037: SbmlTestSuite.t1384 ............................................................................... Passed 0.08 sec Start 3038: SbmlTestSuite.t1385 3038/3476 Test #3038: SbmlTestSuite.t1385 ............................................................................... Passed 0.08 sec Start 3039: SbmlTestSuite.t1386 3039/3476 Test #3039: SbmlTestSuite.t1386 ............................................................................... Passed 0.02 sec Start 3040: SbmlTestSuite.t1387 3040/3476 Test #3040: SbmlTestSuite.t1387 ............................................................................... Passed 0.07 sec Start 3041: SbmlTestSuite.t1388 3041/3476 Test #3041: SbmlTestSuite.t1388 ............................................................................... Passed 0.07 sec Start 3042: SbmlTestSuite.t1389 3042/3476 Test #3042: SbmlTestSuite.t1389 ............................................................................... Passed 0.07 sec Start 3043: SbmlTestSuite.t1390 3043/3476 Test #3043: SbmlTestSuite.t1390 ............................................................................... Passed 0.06 sec Start 3044: SbmlTestSuite.t1391 3044/3476 Test #3044: SbmlTestSuite.t1391 ............................................................................... Passed 0.06 sec Start 3045: SbmlTestSuite.t1392 3045/3476 Test #3045: SbmlTestSuite.t1392 ............................................................................... Passed 0.06 sec Start 3046: SbmlTestSuite.t1393 3046/3476 Test #3046: SbmlTestSuite.t1393 ............................................................................... Passed 0.06 sec Start 3047: SbmlTestSuite.t1394 3047/3476 Test #3047: SbmlTestSuite.t1394 ............................................................................... Passed 0.06 sec Start 3048: SbmlTestSuite.t1395 3048/3476 Test #3048: SbmlTestSuite.t1395 ............................................................................... Passed 0.33 sec Start 3049: SbmlTestSuite.t1396 3049/3476 Test #3049: SbmlTestSuite.t1396 ............................................................................... Passed 0.02 sec Start 3050: SbmlTestSuite.t1397 3050/3476 Test #3050: SbmlTestSuite.t1397 ............................................................................... Passed 0.02 sec Start 3051: SbmlTestSuite.t1398 3051/3476 Test #3051: SbmlTestSuite.t1398 ............................................................................... Passed 0.02 sec Start 3052: SbmlTestSuite.t1399 3052/3476 Test #3052: SbmlTestSuite.t1399 ............................................................................... Passed 0.02 sec Start 3053: SbmlTestSuite.t1400 3053/3476 Test #3053: SbmlTestSuite.t1400 ............................................................................... Passed 0.02 sec Start 3054: SbmlTestSuite.t1401 3054/3476 Test #3054: SbmlTestSuite.t1401 ............................................................................... Passed 0.02 sec Start 3055: SbmlTestSuite.t1402 3055/3476 Test #3055: SbmlTestSuite.t1402 ............................................................................... Passed 0.05 sec Start 3056: SbmlTestSuite.t1403 3056/3476 Test #3056: SbmlTestSuite.t1403 ............................................................................... Passed 0.02 sec Start 3057: SbmlTestSuite.t1404 3057/3476 Test #3057: SbmlTestSuite.t1404 ............................................................................... Passed 0.02 sec Start 3058: SbmlTestSuite.t1405 3058/3476 Test #3058: SbmlTestSuite.t1405 ............................................................................... Passed 0.05 sec Start 3059: SbmlTestSuite.t1406 3059/3476 Test #3059: SbmlTestSuite.t1406 ............................................................................... Passed 0.02 sec Start 3060: SbmlTestSuite.t1407 3060/3476 Test #3060: SbmlTestSuite.t1407 ............................................................................... Passed 0.02 sec Start 3061: SbmlTestSuite.t1408 3061/3476 Test #3061: SbmlTestSuite.t1408 ............................................................................... Passed 0.05 sec Start 3062: SbmlTestSuite.t1409 3062/3476 Test #3062: SbmlTestSuite.t1409 ............................................................................... Passed 0.02 sec Start 3063: SbmlTestSuite.t1410 3063/3476 Test #3063: SbmlTestSuite.t1410 ............................................................................... Passed 0.02 sec Start 3064: SbmlTestSuite.t1411 3064/3476 Test #3064: SbmlTestSuite.t1411 ............................................................................... Passed 0.02 sec Start 3065: SbmlTestSuite.t1412 3065/3476 Test #3065: SbmlTestSuite.t1412 ............................................................................... Passed 0.02 sec Start 3066: SbmlTestSuite.t1413 3066/3476 Test #3066: SbmlTestSuite.t1413 ............................................................................... Passed 0.02 sec Start 3067: SbmlTestSuite.t1414 3067/3476 Test #3067: SbmlTestSuite.t1414 ............................................................................... Passed 0.02 sec Start 3068: SbmlTestSuite.t1415 3068/3476 Test #3068: SbmlTestSuite.t1415 ............................................................................... Passed 0.02 sec Start 3069: SbmlTestSuite.t1416 3069/3476 Test #3069: SbmlTestSuite.t1416 ............................................................................... Passed 0.02 sec Start 3070: SbmlTestSuite.t1417 3070/3476 Test #3070: SbmlTestSuite.t1417 ............................................................................... Passed 0.02 sec Start 3071: SbmlTestSuite.t1418 3071/3476 Test #3071: SbmlTestSuite.t1418 ............................................................................... Passed 0.02 sec Start 3072: SbmlTestSuite.t1419 3072/3476 Test #3072: SbmlTestSuite.t1419 ............................................................................... Passed 0.02 sec Start 3073: SbmlTestSuite.t1420 3073/3476 Test #3073: SbmlTestSuite.t1420 ............................................................................... Passed 0.07 sec Start 3074: SbmlTestSuite.t1421 3074/3476 Test #3074: SbmlTestSuite.t1421 ............................................................................... Passed 0.07 sec Start 3075: SbmlTestSuite.t1422 3075/3476 Test #3075: SbmlTestSuite.t1422 ............................................................................... Passed 0.07 sec Start 3076: SbmlTestSuite.t1423 3076/3476 Test #3076: SbmlTestSuite.t1423 ............................................................................... Passed 0.07 sec Start 3077: SbmlTestSuite.t1424 3077/3476 Test #3077: SbmlTestSuite.t1424 ............................................................................... Passed 0.07 sec Start 3078: SbmlTestSuite.t1425 3078/3476 Test #3078: SbmlTestSuite.t1425 ............................................................................... Passed 0.07 sec Start 3079: SbmlTestSuite.t1426 3079/3476 Test #3079: SbmlTestSuite.t1426 ............................................................................... Passed 0.07 sec Start 3080: SbmlTestSuite.t1427 3080/3476 Test #3080: SbmlTestSuite.t1427 ............................................................................... Passed 0.07 sec Start 3081: SbmlTestSuite.t1428 3081/3476 Test #3081: SbmlTestSuite.t1428 ............................................................................... Passed 0.07 sec Start 3082: SbmlTestSuite.t1429 3082/3476 Test #3082: SbmlTestSuite.t1429 ............................................................................... Passed 0.07 sec Start 3083: SbmlTestSuite.t1430 3083/3476 Test #3083: SbmlTestSuite.t1430 ............................................................................... Passed 0.08 sec Start 3084: SbmlTestSuite.t1431 3084/3476 Test #3084: SbmlTestSuite.t1431 ............................................................................... Passed 0.08 sec Start 3085: SbmlTestSuite.t1432 3085/3476 Test #3085: SbmlTestSuite.t1432 ............................................................................... Passed 0.08 sec Start 3086: SbmlTestSuite.t1433 3086/3476 Test #3086: SbmlTestSuite.t1433 ............................................................................... Passed 0.07 sec Start 3087: SbmlTestSuite.t1434 3087/3476 Test #3087: SbmlTestSuite.t1434 ............................................................................... Passed 0.07 sec Start 3088: SbmlTestSuite.t1435 3088/3476 Test #3088: SbmlTestSuite.t1435 ............................................................................... Passed 0.07 sec Start 3089: SbmlTestSuite.t1436 3089/3476 Test #3089: SbmlTestSuite.t1436 ............................................................................... Passed 0.07 sec Start 3090: SbmlTestSuite.t1437 3090/3476 Test #3090: SbmlTestSuite.t1437 ............................................................................... Passed 0.07 sec Start 3091: SbmlTestSuite.t1438 3091/3476 Test #3091: SbmlTestSuite.t1438 ............................................................................... Passed 0.07 sec Start 3092: SbmlTestSuite.t1439 3092/3476 Test #3092: SbmlTestSuite.t1439 ............................................................................... Passed 0.07 sec Start 3093: SbmlTestSuite.t1440 3093/3476 Test #3093: SbmlTestSuite.t1440 ............................................................................... Passed 0.08 sec Start 3094: SbmlTestSuite.t1441 3094/3476 Test #3094: SbmlTestSuite.t1441 ............................................................................... Passed 0.08 sec Start 3095: SbmlTestSuite.t1442 3095/3476 Test #3095: SbmlTestSuite.t1442 ............................................................................... Passed 0.08 sec Start 3096: SbmlTestSuite.t1443 3096/3476 Test #3096: SbmlTestSuite.t1443 ............................................................................... Passed 0.08 sec Start 3097: SbmlTestSuite.t1444 3097/3476 Test #3097: SbmlTestSuite.t1444 ............................................................................... Passed 0.08 sec Start 3098: SbmlTestSuite.t1445 3098/3476 Test #3098: SbmlTestSuite.t1445 ............................................................................... Passed 0.08 sec Start 3099: SbmlTestSuite.t1446 3099/3476 Test #3099: SbmlTestSuite.t1446 ............................................................................... Passed 0.08 sec Start 3100: SbmlTestSuite.t1447 3100/3476 Test #3100: SbmlTestSuite.t1447 ............................................................................... Passed 0.09 sec Start 3101: SbmlTestSuite.t1448 3101/3476 Test #3101: SbmlTestSuite.t1448 ............................................................................... Passed 0.09 sec Start 3102: SbmlTestSuite.t1449 3102/3476 Test #3102: SbmlTestSuite.t1449 ............................................................................... Passed 0.08 sec Start 3103: SbmlTestSuite.t1450 3103/3476 Test #3103: SbmlTestSuite.t1450 ............................................................................... Passed 0.08 sec Start 3104: SbmlTestSuite.t1451 3104/3476 Test #3104: SbmlTestSuite.t1451 ............................................................................... Passed 0.08 sec Start 3105: SbmlTestSuite.t1452 3105/3476 Test #3105: SbmlTestSuite.t1452 ............................................................................... Passed 0.09 sec Start 3106: SbmlTestSuite.t1453 3106/3476 Test #3106: SbmlTestSuite.t1453 ............................................................................... Passed 0.09 sec Start 3107: SbmlTestSuite.t1454 3107/3476 Test #3107: SbmlTestSuite.t1454 ............................................................................... Passed 0.02 sec Start 3108: SbmlTestSuite.t1455 3108/3476 Test #3108: SbmlTestSuite.t1455 ............................................................................... Passed 0.05 sec Start 3109: SbmlTestSuite.t1456 3109/3476 Test #3109: SbmlTestSuite.t1456 ............................................................................... Passed 0.05 sec Start 3110: SbmlTestSuite.t1457 3110/3476 Test #3110: SbmlTestSuite.t1457 ............................................................................... Passed 0.05 sec Start 3111: SbmlTestSuite.t1458 3111/3476 Test #3111: SbmlTestSuite.t1458 ............................................................................... Passed 0.05 sec Start 3112: SbmlTestSuite.t1459 3112/3476 Test #3112: SbmlTestSuite.t1459 ............................................................................... Passed 0.04 sec Start 3113: SbmlTestSuite.t1460 3113/3476 Test #3113: SbmlTestSuite.t1460 ............................................................................... Passed 0.05 sec Start 3114: SbmlTestSuite.t1461 3114/3476 Test #3114: SbmlTestSuite.t1461 ............................................................................... Passed 0.04 sec Start 3115: SbmlTestSuite.t1462 3115/3476 Test #3115: SbmlTestSuite.t1462 ............................................................................... Passed 0.05 sec Start 3116: SbmlTestSuite.t1463 3116/3476 Test #3116: SbmlTestSuite.t1463 ............................................................................... Passed 0.05 sec Start 3117: SbmlTestSuite.t1464 3117/3476 Test #3117: SbmlTestSuite.t1464 ............................................................................... Passed 0.05 sec Start 3118: SbmlTestSuite.t1465 3118/3476 Test #3118: SbmlTestSuite.t1465 ............................................................................... Passed 0.05 sec Start 3119: SbmlTestSuite.t1466 3119/3476 Test #3119: SbmlTestSuite.t1466 ............................................................................... Passed 0.72 sec Start 3120: SbmlTestSuite.t1467 3120/3476 Test #3120: SbmlTestSuite.t1467 ............................................................................... Passed 0.06 sec Start 3121: SbmlTestSuite.t1468 3121/3476 Test #3121: SbmlTestSuite.t1468 ............................................................................... Passed 0.07 sec Start 3122: SbmlTestSuite.t1469 3122/3476 Test #3122: SbmlTestSuite.t1469 ............................................................................... Passed 0.07 sec Start 3123: SbmlTestSuite.t1470 3123/3476 Test #3123: SbmlTestSuite.t1470 ............................................................................... Passed 0.07 sec Start 3124: SbmlTestSuite.t1471 3124/3476 Test #3124: SbmlTestSuite.t1471 ............................................................................... Passed 0.09 sec Start 3125: SbmlTestSuite.t1472 3125/3476 Test #3125: SbmlTestSuite.t1472 ............................................................................... Passed 0.08 sec Start 3126: SbmlTestSuite.t1473 3126/3476 Test #3126: SbmlTestSuite.t1473 ............................................................................... Passed 0.08 sec Start 3127: SbmlTestSuite.t1474 3127/3476 Test #3127: SbmlTestSuite.t1474 ............................................................................... Passed 0.07 sec Start 3128: SbmlTestSuite.t1475 3128/3476 Test #3128: SbmlTestSuite.t1475 ............................................................................... Passed 0.07 sec Start 3129: SbmlTestSuite.t1476 3129/3476 Test #3129: SbmlTestSuite.t1476 ............................................................................... Passed 0.07 sec Start 3130: SbmlTestSuite.t1477 3130/3476 Test #3130: SbmlTestSuite.t1477 ............................................................................... Passed 0.07 sec Start 3131: SbmlTestSuite.t1478 3131/3476 Test #3131: SbmlTestSuite.t1478 ............................................................................... Passed 0.07 sec Start 3132: SbmlTestSuite.t1479 3132/3476 Test #3132: SbmlTestSuite.t1479 ............................................................................... Passed 0.02 sec Start 3133: SbmlTestSuite.t1480 3133/3476 Test #3133: SbmlTestSuite.t1480 ............................................................................... Passed 0.02 sec Start 3134: SbmlTestSuite.t1481 3134/3476 Test #3134: SbmlTestSuite.t1481 ............................................................................... Passed 0.02 sec Start 3135: SbmlTestSuite.t1482 3135/3476 Test #3135: SbmlTestSuite.t1482 ............................................................................... Passed 0.02 sec Start 3136: SbmlTestSuite.t1483 3136/3476 Test #3136: SbmlTestSuite.t1483 ............................................................................... Passed 0.02 sec Start 3137: SbmlTestSuite.t1484 3137/3476 Test #3137: SbmlTestSuite.t1484 ............................................................................... Passed 0.02 sec Start 3138: SbmlTestSuite.t1485 3138/3476 Test #3138: SbmlTestSuite.t1485 ............................................................................... Passed 0.08 sec Start 3139: SbmlTestSuite.t1486 3139/3476 Test #3139: SbmlTestSuite.t1486 ............................................................................... Passed 0.08 sec Start 3140: SbmlTestSuite.t1487 3140/3476 Test #3140: SbmlTestSuite.t1487 ............................................................................... Passed 0.07 sec Start 3141: SbmlTestSuite.t1488 3141/3476 Test #3141: SbmlTestSuite.t1488 ............................................................................... Passed 0.09 sec Start 3142: SbmlTestSuite.t1489 3142/3476 Test #3142: SbmlTestSuite.t1489 ............................................................................... Passed 0.06 sec Start 3143: SbmlTestSuite.t1490 3143/3476 Test #3143: SbmlTestSuite.t1490 ............................................................................... Passed 0.06 sec Start 3144: SbmlTestSuite.t1491 3144/3476 Test #3144: SbmlTestSuite.t1491 ............................................................................... Passed 0.06 sec Start 3145: SbmlTestSuite.t1492 3145/3476 Test #3145: SbmlTestSuite.t1492 ............................................................................... Passed 0.07 sec Start 3146: SbmlTestSuite.t1493 3146/3476 Test #3146: SbmlTestSuite.t1493 ............................................................................... Passed 0.07 sec Start 3147: SbmlTestSuite.t1494 3147/3476 Test #3147: SbmlTestSuite.t1494 ............................................................................... Passed 0.06 sec Start 3148: SbmlTestSuite.t1495 3148/3476 Test #3148: SbmlTestSuite.t1495 ............................................................................... Passed 0.04 sec Start 3149: SbmlTestSuite.t1496 3149/3476 Test #3149: SbmlTestSuite.t1496 ............................................................................... Passed 0.04 sec Start 3150: SbmlTestSuite.t1497 3150/3476 Test #3150: SbmlTestSuite.t1497 ............................................................................... Passed 0.04 sec Start 3151: SbmlTestSuite.t1498 3151/3476 Test #3151: SbmlTestSuite.t1498 ............................................................................... Passed 0.08 sec Start 3152: SbmlTestSuite.t1499 3152/3476 Test #3152: SbmlTestSuite.t1499 ............................................................................... Passed 0.02 sec Start 3153: SbmlTestSuite.t1500 3153/3476 Test #3153: SbmlTestSuite.t1500 ............................................................................... Passed 0.02 sec Start 3154: SbmlTestSuite.t1501 3154/3476 Test #3154: SbmlTestSuite.t1501 ............................................................................... Passed 0.02 sec Start 3155: SbmlTestSuite.t1502 3155/3476 Test #3155: SbmlTestSuite.t1502 ............................................................................... Passed 0.02 sec Start 3156: SbmlTestSuite.t1503 3156/3476 Test #3156: SbmlTestSuite.t1503 ............................................................................... Passed 0.02 sec Start 3157: SbmlTestSuite.t1504 3157/3476 Test #3157: SbmlTestSuite.t1504 ............................................................................... Passed 0.08 sec Start 3158: SbmlTestSuite.t1505 3158/3476 Test #3158: SbmlTestSuite.t1505 ............................................................................... Passed 0.08 sec Start 3159: SbmlTestSuite.t1506 3159/3476 Test #3159: SbmlTestSuite.t1506 ............................................................................... Passed 0.08 sec Start 3160: SbmlTestSuite.t1507 3160/3476 Test #3160: SbmlTestSuite.t1507 ............................................................................... Passed 0.08 sec Start 3161: SbmlTestSuite.t1508 3161/3476 Test #3161: SbmlTestSuite.t1508 ............................................................................... Passed 0.08 sec Start 3162: SbmlTestSuite.t1509 3162/3476 Test #3162: SbmlTestSuite.t1509 ............................................................................... Passed 0.08 sec Start 3163: SbmlTestSuite.t1510 3163/3476 Test #3163: SbmlTestSuite.t1510 ............................................................................... Passed 0.08 sec Start 3164: SbmlTestSuite.t1511 3164/3476 Test #3164: SbmlTestSuite.t1511 ............................................................................... Passed 0.08 sec Start 3165: SbmlTestSuite.t1512 3165/3476 Test #3165: SbmlTestSuite.t1512 ............................................................................... Passed 0.08 sec Start 3166: SbmlTestSuite.t1513 3166/3476 Test #3166: SbmlTestSuite.t1513 ............................................................................... Passed 0.07 sec Start 3167: SbmlTestSuite.t1514 3167/3476 Test #3167: SbmlTestSuite.t1514 ............................................................................... Passed 0.07 sec Start 3168: SbmlTestSuite.t1515 3168/3476 Test #3168: SbmlTestSuite.t1515 ............................................................................... Passed 0.11 sec Start 3169: SbmlTestSuite.t1516 3169/3476 Test #3169: SbmlTestSuite.t1516 ............................................................................... Passed 0.18 sec Start 3170: SbmlTestSuite.t1517 3170/3476 Test #3170: SbmlTestSuite.t1517 ............................................................................... Passed 0.17 sec Start 3171: SbmlTestSuite.t1518 3171/3476 Test #3171: SbmlTestSuite.t1518 ............................................................................... Passed 0.02 sec Start 3172: SbmlTestSuite.t1519 3172/3476 Test #3172: SbmlTestSuite.t1519 ............................................................................... Passed 0.02 sec Start 3173: SbmlTestSuite.t1520 3173/3476 Test #3173: SbmlTestSuite.t1520 ............................................................................... Passed 0.02 sec Start 3174: SbmlTestSuite.t1521 3174/3476 Test #3174: SbmlTestSuite.t1521 ............................................................................... Passed 0.02 sec Start 3175: SbmlTestSuite.t1522 3175/3476 Test #3175: SbmlTestSuite.t1522 ............................................................................... Passed 0.02 sec Start 3176: SbmlTestSuite.t1523 3176/3476 Test #3176: SbmlTestSuite.t1523 ............................................................................... Passed 0.02 sec Start 3177: SbmlTestSuite.t1524 3177/3476 Test #3177: SbmlTestSuite.t1524 ............................................................................... Passed 0.02 sec Start 3178: SbmlTestSuite.t1525 3178/3476 Test #3178: SbmlTestSuite.t1525 ............................................................................... Passed 0.04 sec Start 3179: SbmlTestSuite.t1526 3179/3476 Test #3179: SbmlTestSuite.t1526 ............................................................................... Passed 0.04 sec Start 3180: SbmlTestSuite.t1527 3180/3476 Test #3180: SbmlTestSuite.t1527 ............................................................................... Passed 0.04 sec Start 3181: SbmlTestSuite.t1528 3181/3476 Test #3181: SbmlTestSuite.t1528 ............................................................................... Passed 0.04 sec Start 3182: SbmlTestSuite.t1529 3182/3476 Test #3182: SbmlTestSuite.t1529 ............................................................................... Passed 0.04 sec Start 3183: SbmlTestSuite.t1530 3183/3476 Test #3183: SbmlTestSuite.t1530 ............................................................................... Passed 0.16 sec Start 3184: SbmlTestSuite.t1531 3184/3476 Test #3184: SbmlTestSuite.t1531 ............................................................................... Passed 0.18 sec Start 3185: SbmlTestSuite.t1532 3185/3476 Test #3185: SbmlTestSuite.t1532 ............................................................................... Passed 0.18 sec Start 3186: SbmlTestSuite.t1533 3186/3476 Test #3186: SbmlTestSuite.t1533 ............................................................................... Passed 0.27 sec Start 3187: SbmlTestSuite.t1534 3187/3476 Test #3187: SbmlTestSuite.t1534 ............................................................................... Passed 0.02 sec Start 3188: SbmlTestSuite.t1535 3188/3476 Test #3188: SbmlTestSuite.t1535 ............................................................................... Passed 0.02 sec Start 3189: SbmlTestSuite.t1536 3189/3476 Test #3189: SbmlTestSuite.t1536 ............................................................................... Passed 0.02 sec Start 3190: SbmlTestSuite.t1537 3190/3476 Test #3190: SbmlTestSuite.t1537 ............................................................................... Passed 0.02 sec Start 3191: SbmlTestSuite.t1538 3191/3476 Test #3191: SbmlTestSuite.t1538 ............................................................................... Passed 0.02 sec Start 3192: SbmlTestSuite.t1539 3192/3476 Test #3192: SbmlTestSuite.t1539 ............................................................................... Passed 0.02 sec Start 3193: SbmlTestSuite.t1540 3193/3476 Test #3193: SbmlTestSuite.t1540 ............................................................................... Passed 0.05 sec Start 3194: SbmlTestSuite.t1541 3194/3476 Test #3194: SbmlTestSuite.t1541 ............................................................................... Passed 0.05 sec Start 3195: SbmlTestSuite.t1542 3195/3476 Test #3195: SbmlTestSuite.t1542 ............................................................................... Passed 0.05 sec Start 3196: SbmlTestSuite.t1543 3196/3476 Test #3196: SbmlTestSuite.t1543 ............................................................................... Passed 0.05 sec Start 3197: SbmlTestSuite.t1544 3197/3476 Test #3197: SbmlTestSuite.t1544 ............................................................................... Passed 0.02 sec Start 3198: SbmlTestSuite.t1545 3198/3476 Test #3198: SbmlTestSuite.t1545 ............................................................................... Passed 0.02 sec Start 3199: SbmlTestSuite.t1546 3199/3476 Test #3199: SbmlTestSuite.t1546 ............................................................................... Passed 0.02 sec Start 3200: SbmlTestSuite.t1547 3200/3476 Test #3200: SbmlTestSuite.t1547 ............................................................................... Passed 0.02 sec Start 3201: SbmlTestSuite.t1548 3201/3476 Test #3201: SbmlTestSuite.t1548 ............................................................................... Passed 0.02 sec Start 3202: SbmlTestSuite.t1549 3202/3476 Test #3202: SbmlTestSuite.t1549 ............................................................................... Passed 0.02 sec Start 3203: SbmlTestSuite.t1550 3203/3476 Test #3203: SbmlTestSuite.t1550 ............................................................................... Passed 0.02 sec Start 3204: SbmlTestSuite.t1551 3204/3476 Test #3204: SbmlTestSuite.t1551 ............................................................................... Passed 0.02 sec Start 3205: SbmlTestSuite.t1552 3205/3476 Test #3205: SbmlTestSuite.t1552 ............................................................................... Passed 0.05 sec Start 3206: SbmlTestSuite.t1553 3206/3476 Test #3206: SbmlTestSuite.t1553 ............................................................................... Passed 0.05 sec Start 3207: SbmlTestSuite.t1554 3207/3476 Test #3207: SbmlTestSuite.t1554 ............................................................................... Passed 0.05 sec Start 3208: SbmlTestSuite.t1555 3208/3476 Test #3208: SbmlTestSuite.t1555 ............................................................................... Passed 0.05 sec Start 3209: SbmlTestSuite.t1556 3209/3476 Test #3209: SbmlTestSuite.t1556 ............................................................................... Passed 0.05 sec Start 3210: SbmlTestSuite.t1557 3210/3476 Test #3210: SbmlTestSuite.t1557 ............................................................................... Passed 0.05 sec Start 3211: SbmlTestSuite.t1558 3211/3476 Test #3211: SbmlTestSuite.t1558 ............................................................................... Passed 0.02 sec Start 3212: SbmlTestSuite.t1559 3212/3476 Test #3212: SbmlTestSuite.t1559 ............................................................................... Passed 0.02 sec Start 3213: SbmlTestSuite.t1560 3213/3476 Test #3213: SbmlTestSuite.t1560 ............................................................................... Passed 0.02 sec Start 3214: SbmlTestSuite.t1561 3214/3476 Test #3214: SbmlTestSuite.t1561 ............................................................................... Passed 0.23 sec Start 3215: SbmlTestSuite.t1562 3215/3476 Test #3215: SbmlTestSuite.t1562 ............................................................................... Passed 0.23 sec Start 3216: SbmlTestSuite.t1563 3216/3476 Test #3216: SbmlTestSuite.t1563 ............................................................................... Passed 0.27 sec Start 3217: SbmlTestSuite.t1564 3217/3476 Test #3217: SbmlTestSuite.t1564 ............................................................................... Passed 0.22 sec Start 3218: SbmlTestSuite.t1565 3218/3476 Test #3218: SbmlTestSuite.t1565 ............................................................................... Passed 0.03 sec Start 3219: SbmlTestSuite.t1566 3219/3476 Test #3219: SbmlTestSuite.t1566 ............................................................................... Passed 0.12 sec Start 3220: SbmlTestSuite.t1567 3220/3476 Test #3220: SbmlTestSuite.t1567 ............................................................................... Passed 0.02 sec Start 3221: SbmlTestSuite.t1568 3221/3476 Test #3221: SbmlTestSuite.t1568 ............................................................................... Passed 0.02 sec Start 3222: SbmlTestSuite.t1569 3222/3476 Test #3222: SbmlTestSuite.t1569 ............................................................................... Passed 0.02 sec Start 3223: SbmlTestSuite.t1570 3223/3476 Test #3223: SbmlTestSuite.t1570 ............................................................................... Passed 0.02 sec Start 3224: SbmlTestSuite.t1571 3224/3476 Test #3224: SbmlTestSuite.t1571 ............................................................................... Passed 0.02 sec Start 3225: SbmlTestSuite.t1572 3225/3476 Test #3225: SbmlTestSuite.t1572 ............................................................................... Passed 0.02 sec Start 3226: SbmlTestSuite.t1573 3226/3476 Test #3226: SbmlTestSuite.t1573 ............................................................................... Passed 0.08 sec Start 3227: SbmlTestSuite.t1574 3227/3476 Test #3227: SbmlTestSuite.t1574 ............................................................................... Passed 0.08 sec Start 3228: SbmlTestSuite.t1575 3228/3476 Test #3228: SbmlTestSuite.t1575 ............................................................................... Passed 0.02 sec Start 3229: SbmlTestSuite.t1576 3229/3476 Test #3229: SbmlTestSuite.t1576 ............................................................................... Passed 0.02 sec Start 3230: SbmlTestSuite.t1577 3230/3476 Test #3230: SbmlTestSuite.t1577 ............................................................................... Passed 0.02 sec Start 3231: SbmlTestSuite.t1578 3231/3476 Test #3231: SbmlTestSuite.t1578 ............................................................................... Passed 0.02 sec Start 3232: SbmlTestSuite.t1579 3232/3476 Test #3232: SbmlTestSuite.t1579 ............................................................................... Passed 0.02 sec Start 3233: SbmlTestSuite.t1580 3233/3476 Test #3233: SbmlTestSuite.t1580 ............................................................................... Passed 0.08 sec Start 3234: SbmlTestSuite.t1581 3234/3476 Test #3234: SbmlTestSuite.t1581 ............................................................................... Passed 0.08 sec Start 3235: SbmlTestSuite.t1582 3235/3476 Test #3235: SbmlTestSuite.t1582 ............................................................................... Passed 0.08 sec Start 3236: SbmlTestSuite.t1583 3236/3476 Test #3236: SbmlTestSuite.t1583 ............................................................................... Passed 0.08 sec Start 3237: SbmlTestSuite.t1584 3237/3476 Test #3237: SbmlTestSuite.t1584 ............................................................................... Passed 0.08 sec Start 3238: SbmlTestSuite.t1585 3238/3476 Test #3238: SbmlTestSuite.t1585 ............................................................................... Passed 0.08 sec Start 3239: SbmlTestSuite.t1586 3239/3476 Test #3239: SbmlTestSuite.t1586 ............................................................................... Passed 0.08 sec Start 3240: SbmlTestSuite.t1587 3240/3476 Test #3240: SbmlTestSuite.t1587 ............................................................................... Passed 0.08 sec Start 3241: SbmlTestSuite.t1588 3241/3476 Test #3241: SbmlTestSuite.t1588 ............................................................................... Passed 0.17 sec Start 3242: SbmlTestSuite.t1589 3242/3476 Test #3242: SbmlTestSuite.t1589 ............................................................................... Passed 0.02 sec Start 3243: SbmlTestSuite.t1590 3243/3476 Test #3243: SbmlTestSuite.t1590 ............................................................................... Passed 0.21 sec Start 3244: SbmlTestSuite.t1591 3244/3476 Test #3244: SbmlTestSuite.t1591 ............................................................................... Passed 0.19 sec Start 3245: SbmlTestSuite.t1592 3245/3476 Test #3245: SbmlTestSuite.t1592 ............................................................................... Passed 0.02 sec Start 3246: SbmlTestSuite.t1593 3246/3476 Test #3246: SbmlTestSuite.t1593 ............................................................................... Passed 0.02 sec Start 3247: SbmlTestSuite.t1594 3247/3476 Test #3247: SbmlTestSuite.t1594 ............................................................................... Passed 0.06 sec Start 3248: SbmlTestSuite.t1595 3248/3476 Test #3248: SbmlTestSuite.t1595 ............................................................................... Passed 0.06 sec Start 3249: SbmlTestSuite.t1596 3249/3476 Test #3249: SbmlTestSuite.t1596 ............................................................................... Passed 0.06 sec Start 3250: SbmlTestSuite.t1597 3250/3476 Test #3250: SbmlTestSuite.t1597 ............................................................................... Passed 0.06 sec Start 3251: SbmlTestSuite.t1598 3251/3476 Test #3251: SbmlTestSuite.t1598 ............................................................................... Passed 0.06 sec Start 3252: SbmlTestSuite.t1599 3252/3476 Test #3252: SbmlTestSuite.t1599 ............................................................................... Passed 0.20 sec Start 3253: SbmlTestSuite.t1600 3253/3476 Test #3253: SbmlTestSuite.t1600 ............................................................................... Passed 0.04 sec Start 3254: SbmlTestSuite.t1601 3254/3476 Test #3254: SbmlTestSuite.t1601 ............................................................................... Passed 0.04 sec Start 3255: SbmlTestSuite.t1602 3255/3476 Test #3255: SbmlTestSuite.t1602 ............................................................................... Passed 0.04 sec Start 3256: SbmlTestSuite.t1603 3256/3476 Test #3256: SbmlTestSuite.t1603 ............................................................................... Passed 0.04 sec Start 3257: SbmlTestSuite.t1604 3257/3476 Test #3257: SbmlTestSuite.t1604 ............................................................................... Passed 0.06 sec Start 3258: SbmlTestSuite.t1605 3258/3476 Test #3258: SbmlTestSuite.t1605 ............................................................................... Passed 0.11 sec Start 3259: SbmlTestSuite.t1606 3259/3476 Test #3259: SbmlTestSuite.t1606 ............................................................................... Passed 0.16 sec Start 3260: SbmlTestSuite.t1607 3260/3476 Test #3260: SbmlTestSuite.t1607 ............................................................................... Passed 0.16 sec Start 3261: SbmlTestSuite.t1608 3261/3476 Test #3261: SbmlTestSuite.t1608 ............................................................................... Passed 0.16 sec Start 3262: SbmlTestSuite.t1609 3262/3476 Test #3262: SbmlTestSuite.t1609 ............................................................................... Passed 0.16 sec Start 3263: SbmlTestSuite.t1610 3263/3476 Test #3263: SbmlTestSuite.t1610 ............................................................................... Passed 0.16 sec Start 3264: SbmlTestSuite.t1611 3264/3476 Test #3264: SbmlTestSuite.t1611 ............................................................................... Passed 0.16 sec Start 3265: SbmlTestSuite.t1612 3265/3476 Test #3265: SbmlTestSuite.t1612 ............................................................................... Passed 0.16 sec Start 3266: SbmlTestSuite.t1613 3266/3476 Test #3266: SbmlTestSuite.t1613 ............................................................................... Passed 0.16 sec Start 3267: SbmlTestSuite.t1614 3267/3476 Test #3267: SbmlTestSuite.t1614 ............................................................................... Passed 0.16 sec Start 3268: SbmlTestSuite.t1615 3268/3476 Test #3268: SbmlTestSuite.t1615 ............................................................................... Passed 0.17 sec Start 3269: SbmlTestSuite.t1616 3269/3476 Test #3269: SbmlTestSuite.t1616 ............................................................................... Passed 0.17 sec Start 3270: SbmlTestSuite.t1617 3270/3476 Test #3270: SbmlTestSuite.t1617 ............................................................................... Passed 0.16 sec Start 3271: SbmlTestSuite.t1618 3271/3476 Test #3271: SbmlTestSuite.t1618 ............................................................................... Passed 0.16 sec Start 3272: SbmlTestSuite.t1619 3272/3476 Test #3272: SbmlTestSuite.t1619 ............................................................................... Passed 0.16 sec Start 3273: SbmlTestSuite.t1620 3273/3476 Test #3273: SbmlTestSuite.t1620 ............................................................................... Passed 0.16 sec Start 3274: SbmlTestSuite.t1621 3274/3476 Test #3274: SbmlTestSuite.t1621 ............................................................................... Passed 0.16 sec Start 3275: SbmlTestSuite.t1622 3275/3476 Test #3275: SbmlTestSuite.t1622 ............................................................................... Passed 0.16 sec Start 3276: SbmlTestSuite.t1623 3276/3476 Test #3276: SbmlTestSuite.t1623 ............................................................................... Passed 0.16 sec Start 3277: SbmlTestSuite.t1624 3277/3476 Test #3277: SbmlTestSuite.t1624 ............................................................................... Passed 0.16 sec Start 3278: SbmlTestSuite.t1625 3278/3476 Test #3278: SbmlTestSuite.t1625 ............................................................................... Passed 0.16 sec Start 3279: SbmlTestSuite.t1626 3279/3476 Test #3279: SbmlTestSuite.t1626 ............................................................................... Passed 0.23 sec Start 3280: SbmlTestSuite.t1627 3280/3476 Test #3280: SbmlTestSuite.t1627 ............................................................................... Passed 0.24 sec Start 3281: SbmlTestSuite.t1628 3281/3476 Test #3281: SbmlTestSuite.t1628 ............................................................................... Passed 0.09 sec Start 3282: SbmlTestSuite.t1629 3282/3476 Test #3282: SbmlTestSuite.t1629 ............................................................................... Passed 0.09 sec Start 3283: SbmlTestSuite.t1630 3283/3476 Test #3283: SbmlTestSuite.t1630 ............................................................................... Passed 0.09 sec Start 3284: SbmlTestSuite.t1631 3284/3476 Test #3284: SbmlTestSuite.t1631 ............................................................................... Passed 0.07 sec Start 3285: SbmlTestSuite.t1632 3285/3476 Test #3285: SbmlTestSuite.t1632 ............................................................................... Passed 0.07 sec Start 3286: SbmlTestSuite.t1633 3286/3476 Test #3286: SbmlTestSuite.t1633 ............................................................................... Passed 0.08 sec Start 3287: SbmlTestSuite.t1634 3287/3476 Test #3287: SbmlTestSuite.t1634 ............................................................................... Passed 0.08 sec Start 3288: SbmlTestSuite.t1635 3288/3476 Test #3288: SbmlTestSuite.t1635 ............................................................................... Passed 0.07 sec Start 3289: SbmlTestSuite.t1636 3289/3476 Test #3289: SbmlTestSuite.t1636 ............................................................................... Passed 0.07 sec Start 3290: SbmlTestSuite.t1637 3290/3476 Test #3290: SbmlTestSuite.t1637 ............................................................................... Passed 0.05 sec Start 3291: SbmlTestSuite.t1638 3291/3476 Test #3291: SbmlTestSuite.t1638 ............................................................................... Passed 0.05 sec Start 3292: SbmlTestSuite.t1639 3292/3476 Test #3292: SbmlTestSuite.t1639 ............................................................................... Passed 0.05 sec Start 3293: SbmlTestSuite.t1640 3293/3476 Test #3293: SbmlTestSuite.t1640 ............................................................................... Passed 0.08 sec Start 3294: SbmlTestSuite.t1641 3294/3476 Test #3294: SbmlTestSuite.t1641 ............................................................................... Passed 0.06 sec Start 3295: SbmlTestSuite.t1642 3295/3476 Test #3295: SbmlTestSuite.t1642 ............................................................................... Passed 0.08 sec Start 3296: SbmlTestSuite.t1643 3296/3476 Test #3296: SbmlTestSuite.t1643 ............................................................................... Passed 0.08 sec Start 3297: SbmlTestSuite.t1644 3297/3476 Test #3297: SbmlTestSuite.t1644 ............................................................................... Passed 0.08 sec Start 3298: SbmlTestSuite.t1645 3298/3476 Test #3298: SbmlTestSuite.t1645 ............................................................................... Passed 0.08 sec Start 3299: SbmlTestSuite.t1646 3299/3476 Test #3299: SbmlTestSuite.t1646 ............................................................................... Passed 0.08 sec Start 3300: SbmlTestSuite.t1647 3300/3476 Test #3300: SbmlTestSuite.t1647 ............................................................................... Passed 0.08 sec Start 3301: SbmlTestSuite.t1648 3301/3476 Test #3301: SbmlTestSuite.t1648 ............................................................................... Passed 0.08 sec Start 3302: SbmlTestSuite.t1649 3302/3476 Test #3302: SbmlTestSuite.t1649 ............................................................................... Passed 0.08 sec Start 3303: SbmlTestSuite.t1650 3303/3476 Test #3303: SbmlTestSuite.t1650 ............................................................................... Passed 0.08 sec Start 3304: SbmlTestSuite.t1651 3304/3476 Test #3304: SbmlTestSuite.t1651 ............................................................................... Passed 0.08 sec Start 3305: SbmlTestSuite.t1652 3305/3476 Test #3305: SbmlTestSuite.t1652 ............................................................................... Passed 0.08 sec Start 3306: SbmlTestSuite.t1653 3306/3476 Test #3306: SbmlTestSuite.t1653 ............................................................................... Passed 0.08 sec Start 3307: SbmlTestSuite.t1654 3307/3476 Test #3307: SbmlTestSuite.t1654 ............................................................................... Passed 0.08 sec Start 3308: SbmlTestSuite.t1655 3308/3476 Test #3308: SbmlTestSuite.t1655 ............................................................................... Passed 0.07 sec Start 3309: SbmlTestSuite.t1656 3309/3476 Test #3309: SbmlTestSuite.t1656 ............................................................................... Passed 0.05 sec Start 3310: SbmlTestSuite.t1657 3310/3476 Test #3310: SbmlTestSuite.t1657 ............................................................................... Passed 0.05 sec Start 3311: SbmlTestSuite.t1658 3311/3476 Test #3311: SbmlTestSuite.t1658 ............................................................................... Passed 0.06 sec Start 3312: SbmlTestSuite.t1659 3312/3476 Test #3312: SbmlTestSuite.t1659 ............................................................................... Passed 0.06 sec Start 3313: SbmlTestSuite.t1660 3313/3476 Test #3313: SbmlTestSuite.t1660 ............................................................................... Passed 0.06 sec Start 3314: SbmlTestSuite.t1661 3314/3476 Test #3314: SbmlTestSuite.t1661 ............................................................................... Passed 0.06 sec Start 3315: SbmlTestSuite.t1662 3315/3476 Test #3315: SbmlTestSuite.t1662 ............................................................................... Passed 0.06 sec Start 3316: SbmlTestSuite.t1663 3316/3476 Test #3316: SbmlTestSuite.t1663 ............................................................................... Passed 0.06 sec Start 3317: SbmlTestSuite.t1664 3317/3476 Test #3317: SbmlTestSuite.t1664 ............................................................................... Passed 0.06 sec Start 3318: SbmlTestSuite.t1665 3318/3476 Test #3318: SbmlTestSuite.t1665 ............................................................................... Passed 0.06 sec Start 3319: SbmlTestSuite.t1666 3319/3476 Test #3319: SbmlTestSuite.t1666 ............................................................................... Passed 0.08 sec Start 3320: SbmlTestSuite.t1667 3320/3476 Test #3320: SbmlTestSuite.t1667 ............................................................................... Passed 0.08 sec Start 3321: SbmlTestSuite.t1668 3321/3476 Test #3321: SbmlTestSuite.t1668 ............................................................................... Passed 0.08 sec Start 3322: SbmlTestSuite.t1669 3322/3476 Test #3322: SbmlTestSuite.t1669 ............................................................................... Passed 0.08 sec Start 3323: SbmlTestSuite.t1670 3323/3476 Test #3323: SbmlTestSuite.t1670 ............................................................................... Passed 0.08 sec Start 3324: SbmlTestSuite.t1671 3324/3476 Test #3324: SbmlTestSuite.t1671 ............................................................................... Passed 0.08 sec Start 3325: SbmlTestSuite.t1672 3325/3476 Test #3325: SbmlTestSuite.t1672 ............................................................................... Passed 0.09 sec Start 3326: SbmlTestSuite.t1673 3326/3476 Test #3326: SbmlTestSuite.t1673 ............................................................................... Passed 0.08 sec Start 3327: SbmlTestSuite.t1674 3327/3476 Test #3327: SbmlTestSuite.t1674 ............................................................................... Passed 0.08 sec Start 3328: SbmlTestSuite.t1675 3328/3476 Test #3328: SbmlTestSuite.t1675 ............................................................................... Passed 0.09 sec Start 3329: SbmlTestSuite.t1676 3329/3476 Test #3329: SbmlTestSuite.t1676 ............................................................................... Passed 0.08 sec Start 3330: SbmlTestSuite.t1677 3330/3476 Test #3330: SbmlTestSuite.t1677 ............................................................................... Passed 0.09 sec Start 3331: SbmlTestSuite.t1678 3331/3476 Test #3331: SbmlTestSuite.t1678 ............................................................................... Passed 0.09 sec Start 3332: SbmlTestSuite.t1679 3332/3476 Test #3332: SbmlTestSuite.t1679 ............................................................................... Passed 0.08 sec Start 3333: SbmlTestSuite.t1680 3333/3476 Test #3333: SbmlTestSuite.t1680 ............................................................................... Passed 0.09 sec Start 3334: SbmlTestSuite.t1681 3334/3476 Test #3334: SbmlTestSuite.t1681 ............................................................................... Passed 0.09 sec Start 3335: SbmlTestSuite.t1682 3335/3476 Test #3335: SbmlTestSuite.t1682 ............................................................................... Passed 0.08 sec Start 3336: SbmlTestSuite.t1683 3336/3476 Test #3336: SbmlTestSuite.t1683 ............................................................................... Passed 0.09 sec Start 3337: SbmlTestSuite.t1684 3337/3476 Test #3337: SbmlTestSuite.t1684 ............................................................................... Passed 0.08 sec Start 3338: SbmlTestSuite.t1685 3338/3476 Test #3338: SbmlTestSuite.t1685 ............................................................................... Passed 0.08 sec Start 3339: SbmlTestSuite.t1686 3339/3476 Test #3339: SbmlTestSuite.t1686 ............................................................................... Passed 0.08 sec Start 3340: SbmlTestSuite.t1687 3340/3476 Test #3340: SbmlTestSuite.t1687 ............................................................................... Passed 0.08 sec Start 3341: SbmlTestSuite.t1688 3341/3476 Test #3341: SbmlTestSuite.t1688 ............................................................................... Passed 0.08 sec Start 3342: SbmlTestSuite.t1689 3342/3476 Test #3342: SbmlTestSuite.t1689 ............................................................................... Passed 0.09 sec Start 3343: SbmlTestSuite.t1690 3343/3476 Test #3343: SbmlTestSuite.t1690 ............................................................................... Passed 0.08 sec Start 3344: SbmlTestSuite.t1691 3344/3476 Test #3344: SbmlTestSuite.t1691 ............................................................................... Passed 0.08 sec Start 3345: SbmlTestSuite.t1692 3345/3476 Test #3345: SbmlTestSuite.t1692 ............................................................................... Passed 0.08 sec Start 3346: SbmlTestSuite.t1693 3346/3476 Test #3346: SbmlTestSuite.t1693 ............................................................................... Passed 0.06 sec Start 3347: SbmlTestSuite.t1694 3347/3476 Test #3347: SbmlTestSuite.t1694 ............................................................................... Passed 0.06 sec Start 3348: SbmlTestSuite.t1695 3348/3476 Test #3348: SbmlTestSuite.t1695 ............................................................................... Passed 0.06 sec Start 3349: SbmlTestSuite.t1696 3349/3476 Test #3349: SbmlTestSuite.t1696 ............................................................................... Passed 0.06 sec Start 3350: SbmlTestSuite.t1697 3350/3476 Test #3350: SbmlTestSuite.t1697 ............................................................................... Passed 0.06 sec Start 3351: SbmlTestSuite.t1698 3351/3476 Test #3351: SbmlTestSuite.t1698 ............................................................................... Passed 0.06 sec Start 3352: SbmlTestSuite.t1699 3352/3476 Test #3352: SbmlTestSuite.t1699 ............................................................................... Passed 0.06 sec Start 3353: SbmlTestSuite.t1700 3353/3476 Test #3353: SbmlTestSuite.t1700 ............................................................................... Passed 0.06 sec Start 3354: SbmlTestSuite.t1701 3354/3476 Test #3354: SbmlTestSuite.t1701 ............................................................................... Passed 0.06 sec Start 3355: SbmlTestSuite.t1702 3355/3476 Test #3355: SbmlTestSuite.t1702 ............................................................................... Passed 0.06 sec Start 3356: SbmlTestSuite.t1703 3356/3476 Test #3356: SbmlTestSuite.t1703 ............................................................................... Passed 0.07 sec Start 3357: SbmlTestSuite.t1704 3357/3476 Test #3357: SbmlTestSuite.t1704 ............................................................................... Passed 0.07 sec Start 3358: SbmlTestSuite.t1705 3358/3476 Test #3358: SbmlTestSuite.t1705 ............................................................................... Passed 0.07 sec Start 3359: SbmlTestSuite.t1706 3359/3476 Test #3359: SbmlTestSuite.t1706 ............................................................................... Passed 0.07 sec Start 3360: SbmlTestSuite.t1707 3360/3476 Test #3360: SbmlTestSuite.t1707 ............................................................................... Passed 0.07 sec Start 3361: SbmlTestSuite.t1708 3361/3476 Test #3361: SbmlTestSuite.t1708 ............................................................................... Passed 0.07 sec Start 3362: SbmlTestSuite.t1709 3362/3476 Test #3362: SbmlTestSuite.t1709 ............................................................................... Passed 0.07 sec Start 3363: SbmlTestSuite.t1710 3363/3476 Test #3363: SbmlTestSuite.t1710 ............................................................................... Passed 0.08 sec Start 3364: SbmlTestSuite.t1711 3364/3476 Test #3364: SbmlTestSuite.t1711 ............................................................................... Passed 0.08 sec Start 3365: SbmlTestSuite.t1712 3365/3476 Test #3365: SbmlTestSuite.t1712 ............................................................................... Passed 0.07 sec Start 3366: SbmlTestSuite.t1713 3366/3476 Test #3366: SbmlTestSuite.t1713 ............................................................................... Passed 0.07 sec Start 3367: SbmlTestSuite.t1714 3367/3476 Test #3367: SbmlTestSuite.t1714 ............................................................................... Passed 0.08 sec Start 3368: SbmlTestSuite.t1715 3368/3476 Test #3368: SbmlTestSuite.t1715 ............................................................................... Passed 0.08 sec Start 3369: SbmlTestSuite.t1716 3369/3476 Test #3369: SbmlTestSuite.t1716 ............................................................................... Passed 0.08 sec Start 3370: SbmlTestSuite.t1717 3370/3476 Test #3370: SbmlTestSuite.t1717 ............................................................................... Passed 0.08 sec Start 3371: SbmlTestSuite.t1718 3371/3476 Test #3371: SbmlTestSuite.t1718 ............................................................................... Passed 0.08 sec Start 3372: SbmlTestSuite.t1719 3372/3476 Test #3372: SbmlTestSuite.t1719 ............................................................................... Passed 0.08 sec Start 3373: SbmlTestSuite.t1720 3373/3476 Test #3373: SbmlTestSuite.t1720 ............................................................................... Passed 0.08 sec Start 3374: SbmlTestSuite.t1721 3374/3476 Test #3374: SbmlTestSuite.t1721 ............................................................................... Passed 0.08 sec Start 3375: SbmlTestSuite.t1722 3375/3476 Test #3375: SbmlTestSuite.t1722 ............................................................................... Passed 0.07 sec Start 3376: SbmlTestSuite.t1723 3376/3476 Test #3376: SbmlTestSuite.t1723 ............................................................................... Passed 0.07 sec Start 3377: SbmlTestSuite.t1724 3377/3476 Test #3377: SbmlTestSuite.t1724 ............................................................................... Passed 0.08 sec Start 3378: SbmlTestSuite.t1725 3378/3476 Test #3378: SbmlTestSuite.t1725 ............................................................................... Passed 0.08 sec Start 3379: SbmlTestSuite.t1726 3379/3476 Test #3379: SbmlTestSuite.t1726 ............................................................................... Passed 0.08 sec Start 3380: SbmlTestSuite.t1727 3380/3476 Test #3380: SbmlTestSuite.t1727 ............................................................................... Passed 0.09 sec Start 3381: SbmlTestSuite.t1728 3381/3476 Test #3381: SbmlTestSuite.t1728 ............................................................................... Passed 0.08 sec Start 3382: SbmlTestSuite.t1729 3382/3476 Test #3382: SbmlTestSuite.t1729 ............................................................................... Passed 0.08 sec Start 3383: SbmlTestSuite.t1730 3383/3476 Test #3383: SbmlTestSuite.t1730 ............................................................................... Passed 0.09 sec Start 3384: SbmlTestSuite.t1731 3384/3476 Test #3384: SbmlTestSuite.t1731 ............................................................................... Passed 0.09 sec Start 3385: SbmlTestSuite.t1732 3385/3476 Test #3385: SbmlTestSuite.t1732 ............................................................................... Passed 0.09 sec Start 3386: SbmlTestSuite.t1733 3386/3476 Test #3386: SbmlTestSuite.t1733 ............................................................................... Passed 0.09 sec Start 3387: SbmlTestSuite.t1734 3387/3476 Test #3387: SbmlTestSuite.t1734 ............................................................................... Passed 0.09 sec Start 3388: SbmlTestSuite.t1735 3388/3476 Test #3388: SbmlTestSuite.t1735 ............................................................................... Passed 0.09 sec Start 3389: SbmlTestSuite.t1736 3389/3476 Test #3389: SbmlTestSuite.t1736 ............................................................................... Passed 0.10 sec Start 3390: SbmlTestSuite.t1737 3390/3476 Test #3390: SbmlTestSuite.t1737 ............................................................................... Passed 0.10 sec Start 3391: SbmlTestSuite.t1738 3391/3476 Test #3391: SbmlTestSuite.t1738 ............................................................................... Passed 0.10 sec Start 3392: SbmlTestSuite.t1739 3392/3476 Test #3392: SbmlTestSuite.t1739 ............................................................................... Passed 0.08 sec Start 3393: SbmlTestSuite.t1740 3393/3476 Test #3393: SbmlTestSuite.t1740 ............................................................................... Passed 0.08 sec Start 3394: SbmlTestSuite.t1741 3394/3476 Test #3394: SbmlTestSuite.t1741 ............................................................................... Passed 0.08 sec Start 3395: SbmlTestSuite.t1742 3395/3476 Test #3395: SbmlTestSuite.t1742 ............................................................................... Passed 0.07 sec Start 3396: SbmlTestSuite.t1743 3396/3476 Test #3396: SbmlTestSuite.t1743 ............................................................................... Passed 0.07 sec Start 3397: SbmlTestSuite.t1744 3397/3476 Test #3397: SbmlTestSuite.t1744 ............................................................................... Passed 0.07 sec Start 3398: SbmlTestSuite.t1745 3398/3476 Test #3398: SbmlTestSuite.t1745 ............................................................................... Passed 0.07 sec Start 3399: SbmlTestSuite.t1746 3399/3476 Test #3399: SbmlTestSuite.t1746 ............................................................................... Passed 0.07 sec Start 3400: SbmlTestSuite.t1747 3400/3476 Test #3400: SbmlTestSuite.t1747 ............................................................................... Passed 0.07 sec Start 3401: SbmlTestSuite.t1748 3401/3476 Test #3401: SbmlTestSuite.t1748 ............................................................................... Passed 0.07 sec Start 3402: SbmlTestSuite.t1749 3402/3476 Test #3402: SbmlTestSuite.t1749 ............................................................................... Passed 0.07 sec Start 3403: SbmlTestSuite.t1750 3403/3476 Test #3403: SbmlTestSuite.t1750 ............................................................................... Passed 0.05 sec Start 3404: SbmlTestSuite.t1751 3404/3476 Test #3404: SbmlTestSuite.t1751 ............................................................................... Passed 0.07 sec Start 3405: SbmlTestSuite.t1752 3405/3476 Test #3405: SbmlTestSuite.t1752 ............................................................................... Passed 0.07 sec Start 3406: SbmlTestSuite.t1753 3406/3476 Test #3406: SbmlTestSuite.t1753 ............................................................................... Passed 0.05 sec Start 3407: SbmlTestSuite.t1754 3407/3476 Test #3407: SbmlTestSuite.t1754 ............................................................................... Passed 0.06 sec Start 3408: SbmlTestSuite.t1755 3408/3476 Test #3408: SbmlTestSuite.t1755 ............................................................................... Passed 0.06 sec Start 3409: SbmlTestSuite.t1756 3409/3476 Test #3409: SbmlTestSuite.t1756 ............................................................................... Passed 0.06 sec Start 3410: SbmlTestSuite.t1757 3410/3476 Test #3410: SbmlTestSuite.t1757 ............................................................................... Passed 0.06 sec Start 3411: SbmlTestSuite.t1758 3411/3476 Test #3411: SbmlTestSuite.t1758 ............................................................................... Passed 0.06 sec Start 3412: SbmlTestSuite.t1759 3412/3476 Test #3412: SbmlTestSuite.t1759 ............................................................................... Passed 0.06 sec Start 3413: SbmlTestSuite.t1760 3413/3476 Test #3413: SbmlTestSuite.t1760 ............................................................................... Passed 0.07 sec Start 3414: SbmlTestSuite.t1761 3414/3476 Test #3414: SbmlTestSuite.t1761 ............................................................................... Passed 0.07 sec Start 3415: SbmlTestSuite.t1762 3415/3476 Test #3415: SbmlTestSuite.t1762 ............................................................................... Passed 0.07 sec Start 3416: SbmlTestSuite.t1763 3416/3476 Test #3416: SbmlTestSuite.t1763 ............................................................................... Passed 0.07 sec Start 3417: SbmlTestSuite.t1764 3417/3476 Test #3417: SbmlTestSuite.t1764 ............................................................................... Passed 0.05 sec Start 3418: SbmlTestSuite.t1765 3418/3476 Test #3418: SbmlTestSuite.t1765 ............................................................................... Passed 0.05 sec Start 3419: SbmlTestSuite.t1766 3419/3476 Test #3419: SbmlTestSuite.t1766 ............................................................................... Passed 0.07 sec Start 3420: SbmlTestSuite.t1767 3420/3476 Test #3420: SbmlTestSuite.t1767 ............................................................................... Passed 0.07 sec Start 3421: SbmlTestSuite.t1768 3421/3476 Test #3421: SbmlTestSuite.t1768 ............................................................................... Passed 0.08 sec Start 3422: SbmlTestSuite.t1769 3422/3476 Test #3422: SbmlTestSuite.t1769 ............................................................................... Passed 0.08 sec Start 3423: SbmlTestSuite.t1770 3423/3476 Test #3423: SbmlTestSuite.t1770 ............................................................................... Passed 0.08 sec Start 3424: SbmlTestSuite.t1771 3424/3476 Test #3424: SbmlTestSuite.t1771 ............................................................................... Passed 0.08 sec Start 3425: SbmlTestSuite.t1772 3425/3476 Test #3425: SbmlTestSuite.t1772 ............................................................................... Passed 0.08 sec Start 3426: SbmlTestSuite.t1773 3426/3476 Test #3426: SbmlTestSuite.t1773 ............................................................................... Passed 0.07 sec Start 3427: SbmlTestSuite.t1774 3427/3476 Test #3427: SbmlTestSuite.t1774 ............................................................................... Passed 0.08 sec Start 3428: SbmlTestSuite.t1775 3428/3476 Test #3428: SbmlTestSuite.t1775 ............................................................................... Passed 0.08 sec Start 3429: SbmlTestSuite.t1776 3429/3476 Test #3429: SbmlTestSuite.t1776 ............................................................................... Passed 0.08 sec Start 3430: SbmlTestSuite.t1777 3430/3476 Test #3430: SbmlTestSuite.t1777 ............................................................................... Passed 0.08 sec Start 3431: SbmlTestSuite.t1778 3431/3476 Test #3431: SbmlTestSuite.t1778 ............................................................................... Passed 0.07 sec Start 3432: SbmlTestSuite.t1779 3432/3476 Test #3432: SbmlTestSuite.t1779 ............................................................................... Passed 0.07 sec Start 3433: SbmlTestSuite.t1780 3433/3476 Test #3433: SbmlTestSuite.t1780 ............................................................................... Passed 0.07 sec Start 3434: SbmlTestSuite.t1781 3434/3476 Test #3434: SbmlTestSuite.t1781 ............................................................................... Passed 0.05 sec Start 3435: SbmlTestSuite.t1782 3435/3476 Test #3435: SbmlTestSuite.t1782 ............................................................................... Passed 0.05 sec Start 3436: SbmlTestSuite.t1783 3436/3476 Test #3436: SbmlTestSuite.t1783 ............................................................................... Passed 0.06 sec Start 3437: SbmlTestSuite.t1784 3437/3476 Test #3437: SbmlTestSuite.t1784 ............................................................................... Passed 0.07 sec Start 3438: SbmlTestSuite.t1785 3438/3476 Test #3438: SbmlTestSuite.t1785 ............................................................................... Passed 0.02 sec Start 3439: SbmlTestSuite.t1786 3439/3476 Test #3439: SbmlTestSuite.t1786 ............................................................................... Passed 0.02 sec Start 3440: SbmlTestSuite.t1787 3440/3476 Test #3440: SbmlTestSuite.t1787 ............................................................................... Passed 0.02 sec Start 3441: SbmlTestSuite.t1788 3441/3476 Test #3441: SbmlTestSuite.t1788 ............................................................................... Passed 0.02 sec Start 3442: SbmlTestSuite.t1789 3442/3476 Test #3442: SbmlTestSuite.t1789 ............................................................................... Passed 0.02 sec Start 3443: SbmlTestSuite.t1790 3443/3476 Test #3443: SbmlTestSuite.t1790 ............................................................................... Passed 0.02 sec Start 3444: SbmlTestSuite.t1791 3444/3476 Test #3444: SbmlTestSuite.t1791 ............................................................................... Passed 0.02 sec Start 3445: SbmlTestSuite.t1792 3445/3476 Test #3445: SbmlTestSuite.t1792 ............................................................................... Passed 0.02 sec Start 3446: SbmlTestSuite.t1793 3446/3476 Test #3446: SbmlTestSuite.t1793 ............................................................................... Passed 0.02 sec Start 3447: SbmlTestSuite.t1794 3447/3476 Test #3447: SbmlTestSuite.t1794 ............................................................................... Passed 0.02 sec Start 3448: SbmlTestSuite.t1795 3448/3476 Test #3448: SbmlTestSuite.t1795 ............................................................................... Passed 0.08 sec Start 3449: SbmlTestSuite.t1796 3449/3476 Test #3449: SbmlTestSuite.t1796 ............................................................................... Passed 0.08 sec Start 3450: SbmlTestSuite.t1797 3450/3476 Test #3450: SbmlTestSuite.t1797 ............................................................................... Passed 0.08 sec Start 3451: SbmlTestSuite.t1798 3451/3476 Test #3451: SbmlTestSuite.t1798 ............................................................................... Passed 0.07 sec Start 3452: SbmlTestSuite.t1799 3452/3476 Test #3452: SbmlTestSuite.t1799 ............................................................................... Passed 0.07 sec Start 3453: SbmlTestSuite.t1800 3453/3476 Test #3453: SbmlTestSuite.t1800 ............................................................................... Passed 0.07 sec Start 3454: SbmlTestSuite.t1801 3454/3476 Test #3454: SbmlTestSuite.t1801 ............................................................................... Passed 0.08 sec Start 3455: SbmlTestSuite.t1802 3455/3476 Test #3455: SbmlTestSuite.t1802 ............................................................................... Passed 0.07 sec Start 3456: SbmlTestSuite.t1803 3456/3476 Test #3456: SbmlTestSuite.t1803 ............................................................................... Passed 0.06 sec Start 3457: SbmlTestSuite.t1804 3457/3476 Test #3457: SbmlTestSuite.t1804 ............................................................................... Passed 0.08 sec Start 3458: SbmlTestSuite.t1805 3458/3476 Test #3458: SbmlTestSuite.t1805 ............................................................................... Passed 0.06 sec Start 3459: SbmlTestSuite.t1806 3459/3476 Test #3459: SbmlTestSuite.t1806 ............................................................................... Passed 0.08 sec Start 3460: SbmlTestSuite.t1807 3460/3476 Test #3460: SbmlTestSuite.t1807 ............................................................................... Passed 0.08 sec Start 3461: SbmlTestSuite.t1808 3461/3476 Test #3461: SbmlTestSuite.t1808 ............................................................................... Passed 0.09 sec Start 3462: SbmlTestSuite.t1809 3462/3476 Test #3462: SbmlTestSuite.t1809 ............................................................................... Passed 0.07 sec Start 3463: SbmlTestSuite.t1810 3463/3476 Test #3463: SbmlTestSuite.t1810 ............................................................................... Passed 0.06 sec Start 3464: SbmlTestSuite.t1811 3464/3476 Test #3464: SbmlTestSuite.t1811 ............................................................................... Passed 0.07 sec Start 3465: SbmlTestSuite.t1812 3465/3476 Test #3465: SbmlTestSuite.t1812 ............................................................................... Passed 0.06 sec Start 3466: SbmlTestSuite.t1813 3466/3476 Test #3466: SbmlTestSuite.t1813 ............................................................................... Passed 0.06 sec Start 3467: SbmlTestSuite.t1814 3467/3476 Test #3467: SbmlTestSuite.t1814 ............................................................................... Passed 0.06 sec Start 3468: SbmlTestSuite.t1815 3468/3476 Test #3468: SbmlTestSuite.t1815 ............................................................................... Passed 0.07 sec Start 3469: SbmlTestSuite.t1816 3469/3476 Test #3469: SbmlTestSuite.t1816 ............................................................................... Passed 0.06 sec Start 3470: SbmlTestSuite.t1817 3470/3476 Test #3470: SbmlTestSuite.t1817 ............................................................................... Passed 0.07 sec Start 3471: SbmlTestSuite.t1818 3471/3476 Test #3471: SbmlTestSuite.t1818 ............................................................................... Passed 0.06 sec Start 3472: SbmlTestSuite.t1819 3472/3476 Test #3472: SbmlTestSuite.t1819 ............................................................................... Passed 0.07 sec Start 3473: SbmlTestSuite.t1820 3473/3476 Test #3473: SbmlTestSuite.t1820 ............................................................................... Passed 0.06 sec Start 3474: SbmlTestSuite.t1821 3474/3476 Test #3474: SbmlTestSuite.t1821 ............................................................................... Passed 0.07 sec Start 3475: SbmlTestSuite.t1822 3475/3476 Test #3475: SbmlTestSuite.t1822 ............................................................................... Passed 0.05 sec Start 3476: SbmlTestSuite.t1823 3476/3476 Test #3476: SbmlTestSuite.t1823 ............................................................................... Passed 0.05 sec 100% tests passed, 0 tests failed out of 3438 Total Test time (real) = 301.93 sec The following tests did not run: 131 - LLJitTests.GetObjectFromCacheUsingRoadRunnerMethods (Disabled) 486 - ModelAnalysisTests.SimulateCVODEFromNegativeStart_T0fireDelay (Disabled) 744 - CVODEIntegratorUnitTests.loadSBMLSettings (Disabled) 759 - CVODEIntegratorUnitTests.tweakTolerancess (Disabled) 929 - SettingTests.EqualityWithTemporaryLongFwd (Disabled) 930 - SettingTests.EqualityWithTemporaryLongBkwd (Disabled) 932 - SettingTests.EqualityOperatorWithIntBkwd (Disabled) 934 - SettingTests.InEqualityOperatorWithIntBkwd (Disabled) 964 - RoadRunnerAPITestsWithMCJit.getIdsAfterSetConservedMoiety (Disabled) 968 - RoadRunnerAPITestsWithMCJit.RoadRunnerConstructorFromURL (Disabled) 969 - RoadRunnerAPITestsWithMCJit.CompilerTempDirSupportCodeDir (Disabled) 971 - RoadRunnerAPITestsWithMCJit.EqualityOperators (Disabled) 972 - RoadRunnerAPITestsWithMCJit.InequalityOperators (Disabled) 976 - RoadRunnerAPITestsWithMCJit.getCompiler (Disabled) 1003 - RoadRunnerAPITestsWithMCJit.getSupportedIdTypes (Disabled) 1043 - RoadRunnerAPITestsWithMCJit.getFrequencyResponse (Disabled) 1064 - RoadRunnerAPITestsWithMCJit.setConstant (Disabled) 1069 - RoadRunnerAPITestsWithMCJit.setReversible (Disabled) 1090 - RoadRunnerAPITestsWithMCJit.mcaSteadyState (Disabled) 1100 - RoadRunnerAPITestsWithMCJit.getSensitivitySolverByName (Disabled) 1103 - RoadRunnerAPITestsWithMCJit.makeSensitivitySolver (Disabled) 1118 - RoadRunnerAPITestsWithMCJit.sensitivitySolverExistsWhenFalse (Disabled) 1127 - RoadRunnerAPITestsWithLLJit.getIdsAfterSetConservedMoiety (Disabled) 1131 - RoadRunnerAPITestsWithLLJit.RoadRunnerConstructorFromURL (Disabled) 1132 - RoadRunnerAPITestsWithLLJit.CompilerTempDirSupportCodeDir (Disabled) 1134 - RoadRunnerAPITestsWithLLJit.EqualityOperators (Disabled) 1135 - RoadRunnerAPITestsWithLLJit.InequalityOperators (Disabled) 1139 - RoadRunnerAPITestsWithLLJit.getCompiler (Disabled) 1166 - RoadRunnerAPITestsWithLLJit.getSupportedIdTypes (Disabled) 1206 - RoadRunnerAPITestsWithLLJit.getFrequencyResponse (Disabled) 1227 - RoadRunnerAPITestsWithLLJit.setConstant (Disabled) 1232 - RoadRunnerAPITestsWithLLJit.setReversible (Disabled) 1253 - RoadRunnerAPITestsWithLLJit.mcaSteadyState (Disabled) 1263 - RoadRunnerAPITestsWithLLJit.getSensitivitySolverByName (Disabled) 1266 - RoadRunnerAPITestsWithLLJit.makeSensitivitySolver (Disabled) 1281 - RoadRunnerAPITestsWithLLJit.sensitivitySolverExistsWhenFalse (Disabled) 1311 - LoggerTests.enableConsoleLogging (Disabled) 1312 - LoggerTests.enableFileLogging (Disabled) + PYTHONPATH=/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages + LD_LIBRARY_PATH=/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64 + python3 /builddir/build/SOURCES/libroadrunner-smoke.py [PASS] import :: roadrunner 2.11.0 [PASS] simulate-decay-model :: S: 10.000 -> 1.3534 (analytic 1.3534) [PASS] raising-integrator-listener :: SKIPPED: listener API unreachable (known upstream bug) [ROADRUNNER-CHECK] PASS (0 failure(s)) + tee sbml-stack.out + PYTHONPATH=/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64/python3.15/site-packages + LD_LIBRARY_PATH=/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/lib64 + /usr/bin/python3 /usr/share/sbml-test-corpus/sbml-stack-check.py --corpus /usr/share/sbml-test-corpus --layer roadrunner corpus: 12 models under /usr/share/sbml-test-corpus == roadrunner == [PASS] BIOMD0000000001 roadrunner simulate :: 12 species, 3 dynamic [PASS] BIOMD0000000001 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000001 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000003 roadrunner simulate :: 3 species, 3 dynamic [PASS] BIOMD0000000003 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000003 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000010 roadrunner simulate :: 8 species, 8 dynamic [PASS] BIOMD0000000010 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000010 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000012 roadrunner simulate :: 6 species, 6 dynamic [PASS] BIOMD0000000012 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000012 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000021 roadrunner simulate :: 10 species, 10 dynamic [PASS] BIOMD0000000021 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000021 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000056 roadrunner simulate :: 50 species, 49 dynamic [PASS] BIOMD0000000056 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000056 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 (libsbml flagged strict-conversion issues; dynamics unaffected) [PASS] BIOMD0000000064 roadrunner simulate :: 17 species, 17 dynamic [PASS] BIOMD0000000064 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000064 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000090 roadrunner simulate :: 13 species, 13 dynamic [PASS] BIOMD0000000090 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000090 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 (libsbml flagged strict-conversion issues; dynamics unaffected) [PASS] BIOMD0000000098 roadrunner simulate :: 2 species, 2 dynamic [PASS] BIOMD0000000098 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000098 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000140 roadrunner simulate :: 25 species, 17 dynamic [PASS] BIOMD0000000140 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000140 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000206 roadrunner simulate :: 9 species, 9 dynamic [PASS] BIOMD0000000206 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000206 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000297 roadrunner simulate :: 19 species, 19 dynamic [PASS] BIOMD0000000297 roadrunner SBML export round-trip :: max rel dev 0.0e+00 [PASS] BIOMD0000000297 libsbml L2->L3V2 then simulate :: max rel dev 0.0e+00 [PASS] BIOMD0000000012 repressilator oscillates (Elowitz 2000) :: peaks over t=0..300: {'[PX]': 3, '[PY]': 3, '[PZ]': 4} [PASS] BIOMD0000000003 mitotic oscillator oscillates (Goldbeter 1991) :: cyclin peaks over t=0..100: 3 [PASS] BIOMD0000000010 MAPK cascade oscillates (Kholodenko 2000) :: MAPK_PP peaks over t=0..4000: 3 [PASS] BIOMD0000000064 glycolysis reaches steady state (Teusink 2000) :: steady-state G6P = 1.033 mM, 17 species all finite and non-negative [SBML-STACK] PASS (40 checks) + grep -q '^\[SBML-STACK\] PASS' sbml-stack.out + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libroadrunner-2.11.0-2.fc46.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z6rW5D + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + cd roadrunner-2.11.0 + LICENSEDIR=/builddir/build/BUILD/libroadrunner-2.11.0-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.11.0-build/BUILDROOT/usr/share/licenses/libroadrunner + cp -pr /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/LICENSE.txt /builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT/usr/share/licenses/libroadrunner + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(parallel-hashmap) bundled(thread-pool) libroadrunner = 2.11.0-2.fc46 libroadrunner(x86-64) = 2.11.0-2.fc46 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-14.so()(64bit) libLLVM-14.so(LLVM_14)(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) libm.so.6(GLIBC_2.44)(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.11.0-2.fc46.x86_64 Provides: python-roadrunner = 2.11.0-2.fc46 python3-roadrunner = 2.11.0-2.fc46 python3-roadrunner(x86-64) = 2.11.0-2.fc46 python3.15-roadrunner = 2.11.0-2.fc46 python3.15dist(libroadrunner) = 2.11.0 python3dist(libroadrunner) = 2.11.0 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-14.so()(64bit) libLLVM-14.so(LLVM_14)(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.33)(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_2.7)(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) libm.so.6(GLIBC_2.44)(64bit) libpython3.15.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.19)(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.15 rtld(GNU_HASH) Processing files: libroadrunner-devel-2.11.0-2.fc46.x86_64 Provides: libroadrunner-devel = 2.11.0-2.fc46 libroadrunner-devel(x86-64) = 2.11.0-2.fc46 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.11.0-build/BUILDROOT Wrote: /builddir/build/RPMS/libroadrunner-devel-2.11.0-2.fc46.x86_64.rpm Wrote: /builddir/build/RPMS/libroadrunner-2.11.0-2.fc46.x86_64.rpm Wrote: /builddir/build/RPMS/python3-roadrunner-2.11.0-2.fc46.x86_64.rpm Finish: rpmbuild libroadrunner-2.11.0-2.fc46.src.rpm Finish: build phase for libroadrunner-2.11.0-2.fc46.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1793139585.473023/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.11.0-2.fc46.src.rpm) Config(child) 21 minutes 10 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.11.0", "release": "2.fc46", "arch": "x86_64" }, { "name": "python3-roadrunner", "epoch": null, "version": "2.11.0", "release": "2.fc46", "arch": "x86_64" }, { "name": "libroadrunner", "epoch": null, "version": "2.11.0", "release": "2.fc46", "arch": "src" }, { "name": "libroadrunner-devel", "epoch": null, "version": "2.11.0", "release": "2.fc46", "arch": "x86_64" } ] } RPMResults finished